ThalesGroup / crypto11

Implement crypto.Signer and crypto.Decrypter for HSM-protected keys via PKCS#11
MIT License
219 stars 86 forks source link

How to use this library #97

Open khushalkunjir opened 2 years ago

khushalkunjir commented 2 years ago

Can you please make one demo, How exactly i can use this library. I am not sure how do i run this can you please help

maraino commented 2 years ago

Hi @khushalkunjir, I'm not involved with this package, although I have submitted a couple of PRs. This code shows some of the most common things that you can do with crypto11. Then I'm using that package in step-kms-plugin to manage keys in HSMs, and in step-ca for signing certificates.