Skip to content

Agnara/openssl-pkcs11-samples

 
 

Repository files navigation

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.

About

Sample code for working with OpenSSL, LibP11, engine_pkcs11, and OpenSC

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published