This repository contains various sample codes designed to work across all variants of Luna General Purpose HSMs, unless otherwise noted in the comments. These variants includes
- Luna Network HSM 7.
- Luna PCIe HSM 7.
- Luna USB HSM (Luna U700).
- Luna Cloud HSM a.k.a Data Protection on Demand(DPoD).
- Luna G5 (EOL - Sep-2025).
- Previous Generation of Luna HSM.
Features -
-
Universal Compatibility: The sample codes are compatible with all Luna HSM variants unless explicitly mentioned.
-
Well-Documented: Each sample code is thoroughly commented to explain its purpose and functionality.
-
Tested: All samples have been tested and should work under the right conditions. Some samples may require specific policies to be enabled.
-
Well-Formatted: Samples are well-formatted, easy to read, properly indented, and free from unnecessary comments and other extraneous material.
-
Topics Covered: The samples in this repository would cover the following topics - PKCS#11.
-
Languages Covered: Samples available for C.
Directory Name | Description |
---|---|
C_Samples | Contains samples written in C language. |
If you are interested in contributing to the "LunaHSM_Sample_Codes", start by reading the Contributing guide.
This software is provided under a permissive license.