Skip to content

A treasure chest providing first-class samples of source codes to use or discover the many features of a Luna HSM.

License

Notifications You must be signed in to change notification settings

ThalesGroup/luna-samples

Repository files navigation

[ LUNA SAMPLES ]

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



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.
    • Luna JSP.
    • Luna RestAPI.
    • Luna Functionality Module.
    • Python-pkcs11.
  • Languages Covered: Samples available for C, Java and Python3.



Content

Directory Name Description
C_Samples Pkcs11 samples written in C language.
LunaJSP_Samples Java samples that uses LunaProvider (Luna JSP).
RestAPI-Python_Samples Python3 based Luna REST-API samples for Luna Network HSM.
Python-PKCS11_Samples Python3 based samples to demonstrate how to use python-pkcs11.
Luna-FM_Samples additional samples codes to demonstrate and test FM capability of Luna HSM.



Contributing

If you are interested in contributing to the "LunaHSM_Sample_Codes", start by reading the Contributing guide.

License

This software is provided under a permissive license.

About

A treasure chest providing first-class samples of source codes to use or discover the many features of a Luna HSM.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published