1gnutls_x509_crt_get_proxy(3) gnutls gnutls_x509_crt_get_proxy(3)
2
3
4
6 gnutls_x509_crt_get_proxy - This function returns the proxy certificate
7 info
8
10 #include <gnutls/x509.h>
11
12 int gnutls_x509_crt_get_proxy(gnutls_x509_crt_t cert, unsigned int *
13 critical, int * pathlen, char ** policyLanguage, char ** policy, size_t
14 * sizeof_policy);
15
17 gnutls_x509_crt_t cert
18 should contain a gnutls_x509_crt_t structure
19
20 unsigned int * critical
21 will be non zero if the extension is marked as critical
22
23 int * pathlen
24 pointer to output integer indicating path length (may be
25 NULL), non-negative values indicate a present pCPathLenCon‐
26 straint field and the actual value, -1 indicate that the
27 field is absent.
28
29 char ** policyLanguage
30 output variable with OID of policy language
31
32 char ** policy
33 output variable with policy data
34
35 size_t * sizeof_policy
36 output variable size of policy data
37
39 This function will get information from a proxy certificate. It reads
40 the ProxyCertInfo X.509 extension (1.3.6.1.5.5.7.1.14).
41
43 On success, GNUTLS_E_SUCCESS (zero) is returned, otherwise an error
44 code is returned.
45
47 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
48 http://www.gnu.org/software/gnutls/ General help using GNU software:
49 http://www.gnu.org/gethelp/
50
52 Copyright © 2008 Free Software Foundation.
53 Copying and distribution of this file, with or without modification,
54 are permitted in any medium without royalty provided the copyright
55 notice and this notice are preserved.
56
58 The full documentation for gnutls is maintained as a Texinfo manual.
59 If the info and gnutls programs are properly installed at your site,
60 the command
61
62 info gnutls
63
64 should give you access to the complete manual.
65
66
67
68gnutls 2.8.6 gnutls_x509_crt_get_proxy(3)