1gnutls_x509_crt_set_proxy(3) gnutls gnutls_x509_crt_set_proxy(3)
2
3
4
6 gnutls_x509_crt_set_proxy - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_crt_set_proxy(gnutls_x509_crt_t crt, int pathLenCon‐
12 straint, const char * policyLanguage, const char * policy, size_t
13 sizeof_policy);
14
16 gnutls_x509_crt_t crt
17 a certificate of type gnutls_x509_crt_t
18
19 int pathLenConstraint
20 non-negative values indicate maximum length of path, and
21 negative values indicate that the pathLenConstraints field
22 should not be present.
23
24 const char * policyLanguage
25 OID describing the language of policy.
26
27 const char * policy
28 opaque byte array with policy language, can be NULL
29
30 size_t sizeof_policy
31 size of policy.
32
34 This function will set the proxyCertInfo extension.
35
37 On success, GNUTLS_E_SUCCESS is returned, otherwise a negative error
38 value.
39
41 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
42 http://www.gnu.org/software/gnutls/ General help using GNU software:
43 http://www.gnu.org/gethelp/
44
46 Copyright © 2008 Free Software Foundation.
47 Copying and distribution of this file, with or without modification,
48 are permitted in any medium without royalty provided the copyright
49 notice and this notice are preserved.
50
52 The full documentation for gnutls is maintained as a Texinfo manual.
53 If the info and gnutls programs are properly installed at your site,
54 the command
55
56 info gnutls
57
58 should give you access to the complete manual.
59
60
61
62gnutls 2.12.6.1 gnutls_x509_crt_set_proxy(3)