24 #ifndef OPENVPN_PKCS11_H
25 #define OPENVPN_PKCS11_H
27 #if defined(ENABLE_PKCS11)
33 const bool fProtectedAuthentication,
34 const int nPINCachePeriod
38 pkcs11_terminate(
void);
42 const char *
const provider,
43 const bool fProtectedAuthentication,
44 const unsigned private_mode,
45 const bool fCertIsPrivate
52 pkcs11_management_id_count(
void);
55 pkcs11_management_id_get(
65 const char *
const pkcs11_id
70 const char *
const provider,