summaryrefslogtreecommitdiff
path: root/lib/pkcs11_int.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-11-07 16:14:08 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-11-19 11:27:00 +0100
commit5b9d843e65d73526e8bc176ac378f54a5fd6ea17 (patch)
treec9fd32b72dac4f4359394a40d9a5273d98c2cf2b /lib/pkcs11_int.h
parent69422a1d264128003995fc06c903b7b887af14d9 (diff)
downloadgnutls-5b9d843e65d73526e8bc176ac378f54a5fd6ea17.tar.gz
Added API to read/write/delete key-cert pairs (limited to windows for now)
Diffstat (limited to 'lib/pkcs11_int.h')
-rw-r--r--lib/pkcs11_int.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/pkcs11_int.h b/lib/pkcs11_int.h
index 96e30acffa..c0a17493b8 100644
--- a/lib/pkcs11_int.h
+++ b/lib/pkcs11_int.h
@@ -111,6 +111,10 @@ void pkcs11_rescan_slots(void);
int pkcs11_info_to_url(struct p11_kit_uri *info,
gnutls_pkcs11_url_type_t detailed, char **url);
+int
+_gnutls_x509_crt_import_pkcs11_url(gnutls_x509_crt_t crt,
+ const char *url, unsigned int flags);
+
#define SESSION_WRITE (1<<0)
#define SESSION_LOGIN (1<<1)
#define SESSION_SO (1<<2) /* security officer session */