1gnutls_pkcs11_token_get_info(3) gnutls gnutls_pkcs11_token_get_info(3)
2
3
4
6 gnutls_pkcs11_token_get_info - API function
7
9 #include <gnutls/pkcs11.h>
10
11 int gnutls_pkcs11_token_get_info(const char * url,
12 gnutls_pkcs11_token_info_t ttype, void * output, size_t * output_size);
13
15 const char * url
16 should contain a PKCS 11 URL
17
18 gnutls_pkcs11_token_info_t ttype
19 Denotes the type of information requested
20
21 void * output
22 where output will be stored
23
24 size_t * output_size
25 contains the maximum size of the output and will be over‐
26 written with actual
27
29 This function will return information about the PKCS 11 token such as
30 the label, id, etc.
31
33 GNUTLS_E_SUCCESS (0) on success or a negative error code on error.
34
36 2.12.0
37
39 Report bugs to <bugs@gnutls.org>.
40 Home page: http://www.gnutls.org
41
42
44 Copyright © 2001-2014 Free Software Foundation, Inc..
45 Copying and distribution of this file, with or without modification,
46 are permitted in any medium without royalty provided the copyright
47 notice and this notice are preserved.
48
50 The full documentation for gnutls is maintained as a Texinfo manual.
51 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
52 visit
53
54 http://www.gnutls.org/manual/
55
56gnutls 3.3.29 gnutls_pkcs11_token_get_info(3)