openssl-pkcs11-samples
openssl-pkcs11-samples copied to clipboard
Sample code for working with OpenSSL, LibP11, engine_pkcs11, and OpenSC
openssl-pkcs11-samples
Sample code for working with OpenSSL, LibP11, engine_pkcs11, and OpenSC
Small (close to minimal) single-purpose apps:
encrypt.c -- Software-based encryption.
sign.c -- Software-based signing.
tok-sign.c -- Signing with a hardware token.
C++ Wrappers:
OpenSSLWrappers.hpp -- While I still don't fully understand the lifecycle rules of the OpenSSL+Engine bits, these classes let me use some amount of RAII to help manage lifetimes.