aboutsummaryrefslogtreecommitdiff
path: root/pkcs11.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--pkcs11.h18
1 files changed, 6 insertions, 12 deletions
diff --git a/pkcs11.h b/pkcs11.h
index 0e69d11..4b207e7 100644
--- a/pkcs11.h
+++ b/pkcs11.h
@@ -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 */