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/pkcs11.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 [22m(0) 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 2.12.0
34
36 Report bugs to <bugs@gnutls.org>.
37 Home page: https://www.gnutls.org
38
39
41 Copyright © 2001- Free Software Foundation, Inc., and others.
42 Copying and distribution of this file, with or without modification,
43 are permitted in any medium without royalty provided the copyright
44 notice and this notice are preserved.
45
47 The full documentation for gnutls is maintained as a Texinfo manual.
48 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
49 visit
50
51 https://www.gnutls.org/manual/
52
53gnutls 3.6.15 gnutls_pkcs11_token_get_url(3)