summaryrefslogtreecommitdiff
path: root/lib/includes/gnutls/x509.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2014-11-12 15:44:53 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2014-11-12 15:44:53 +0100
commitde103830ba84111343567c36115a4c6bf5e60265 (patch)
treebbee0f5a2bf4471c3cbebf4d14e380e54ef8a1a6 /lib/includes/gnutls/x509.h
parent6bc9802ea8946801c7004d08b6f8e614011a6d1e (diff)
downloadgnutls-de103830ba84111343567c36115a4c6bf5e60265.tar.gz
Enable PIN support to gnutls_x509_privkey_t
Diffstat (limited to 'lib/includes/gnutls/x509.h')
-rw-r--r--lib/includes/gnutls/x509.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/includes/gnutls/x509.h b/lib/includes/gnutls/x509.h
index 5ae554bbec..2ee2a5b556 100644
--- a/lib/includes/gnutls/x509.h
+++ b/lib/includes/gnutls/x509.h
@@ -965,6 +965,11 @@ int gnutls_x509_privkey_init(gnutls_x509_privkey_t * key);
void gnutls_x509_privkey_deinit(gnutls_x509_privkey_t key);
gnutls_sec_param_t
gnutls_x509_privkey_sec_param(gnutls_x509_privkey_t key);
+
+void gnutls_x509_privkey_set_pin_function(gnutls_x509_privkey_t key,
+ gnutls_pin_callback_t fn,
+ void *userdata);
+
int gnutls_x509_privkey_cpy(gnutls_x509_privkey_t dst,
gnutls_x509_privkey_t src);
int gnutls_x509_privkey_import(gnutls_x509_privkey_t key,