1gnutls_pkcs11_privkey_export_url(3) gnutls gnutls_pkcs11_privkey_export_url(3)
2
3
4
6 gnutls_pkcs11_privkey_export_url - API function
7
9 #include <gnutls/pkcs11.h>
10
11 int gnutls_pkcs11_privkey_export_url(gnutls_pkcs11_privkey_t key,
12 gnutls_pkcs11_url_type_t detailed, char ** url);
13
15 gnutls_pkcs11_privkey_t key
16 Holds the PKCS 11 key
17
18 gnutls_pkcs11_url_type_t detailed
19 non zero if a detailed URL is required
20
21 char ** url will contain an allocated url
22
24 This function will export a URL identifying the given key.
25
27 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative
28 error value.
29
31 Report bugs to <bugs@gnutls.org>.
32 Home page: https://www.gnutls.org
33
34
36 Copyright © 2001-2019 Free Software Foundation, Inc., and others.
37 Copying and distribution of this file, with or without modification,
38 are permitted in any medium without royalty provided the copyright
39 notice and this notice are preserved.
40
42 The full documentation for gnutls is maintained as a Texinfo manual.
43 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
44 visit
45
46 https://www.gnutls.org/manual/
47
48gnutls 3.6.8 gnutls_pkcs11_privkey_export_url(3)