diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2007-10-22 20:06:14 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2007-10-22 20:06:14 +0000 |
commit | 718526e0e9efbcf6f8aa5cfa411c06c21429011d (patch) | |
tree | 91ba9366ad8d733256e15eb61623384a48a9950f /pkcs11.h | |
parent | Modified command line and config file parser to allow (diff) | |
download | openvpn-718526e0e9efbcf6f8aa5cfa411c06c21429011d.tar.xz |
Use pkcs11-helper as external library, can be downloaded
from https://www.opensc-project.org/pkcs11-helper (Alon Bar-Lev).
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@2418 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to 'pkcs11.h')
-rw-r--r-- | pkcs11.h | 18 |
1 files changed, 6 insertions, 12 deletions
@@ -45,29 +45,23 @@ bool pkcs11_addProvider ( const char * const provider, const bool fProtectedAuthentication, - const char * const sign_mode, + const unsigned private_mode, const bool fCertIsPrivate ); int +pkcs11_logout(); + +int SSL_CTX_use_pkcs11 ( SSL_CTX * const ssl_ctx, - const char * const pkcs11_slot_type, - const char * const pkcs11_slot, - const char * const pkcs11_id_type, const char * const pkcs11_id ); void -show_pkcs11_slots ( - const char * const provider -); - -void -show_pkcs11_objects ( +show_pkcs11_ids ( const char * const provider, - const char * const slot, - const char * const pin + bool cert_private ); #endif /* ENABLE_PKCS11 */ |