1gnutls_pkcs11_token_get_url(3) gnutls gnutls_pkcs11_token_get_url(3)
2
3
4
6 gnutls_pkcs11_token_get_url - API function
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_pkcs11_token_get_url(unsigned int seq,
12 gnutls_pkcs11_url_type_t detailed, char ** url);
13
15 unsigned int seq
16 sequence number starting from 0
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 return the URL for each token available in system.
25 The url has to be released using gnutls_free()
26
28 On success, GNUTLS_E_SUCCESS is returned,
29 GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE if the sequence number exceeds
30 the available tokens, otherwise a negative error value.
31
33 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
34 http://www.gnu.org/software/gnutls/ General help using GNU software:
35 http://www.gnu.org/gethelp/
36
38 Copyright © 2008 Free Software Foundation.
39 Copying and distribution of this file, with or without modification,
40 are permitted in any medium without royalty provided the copyright
41 notice and this notice are preserved.
42
44 The full documentation for gnutls is maintained as a Texinfo manual.
45 If the info and gnutls programs are properly installed at your site,
46 the command
47
48 info gnutls
49
50 should give you access to the complete manual.
51
52
53
54gnutls 2.12.6.1 gnutls_pkcs11_token_get_url(3)