C++
PKCS11 Examples for C++
- PKCS11 Initialize
- PKCS11 Discover Readers and Smart Cards / Tokens
- PKCS11 Establish Session with Login (QuickSession)
- PKCS11 Sessions
- PKCS11 Login / Logout
- PKCS11 Find All Certificates on Smart Card or USB Token
- PKCS11 Find Specific Certificate on Smart Card or USB Token
- PKCS11 Sign PDF using Certificate and Private Key on Smart Card / USB Token
- PKCS11 XML Signature using Certificate and Private Key on Smart Card / USB Token
- PKCS11 Certificate Chain
- PKCS11 Find Driver Files
- PKCS11 Set PIN for Currently Logged On User
- PKCS11 Change Normal User PIN from Non-Logged-In State
- PKCS11 Initialize Normal User PIN
- PKCS11 Find Certificate with Key Usage on Smart Card or USB Token
- Import an SSH Key to an HSM using PKCS11
- PKCS11 Find Private Key by Label
- PKCS11 Generate Secret Key (such as AES)
- PKCS11 Generate a Session RSA Key on the HSM
- PKCS11 Generate a RSA Key that stays on the HSM
- PKCS11 Generate a Session EC Key on the HSM
- PKCS11 Generate an EC Key that stays on the HSM
- PKCS11 Import an Existing AES Key onto the HSM
- PKCS11 Import a Private Key onto the HSM
- PKCS11 Import an Existing RSA Public Key onto the HSM
- PKCS11 Find all Private Keys
- PKCS11 Find all Public Keys
- PKCS11 Export Public Key from HSM
- PKCS11 Get Token Info
- PKCS11 Use a Smart Card Certificate + Private Key for SSL/TLS Authentication