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 error codes indicate maximum length of path,
21 and negative error codes indicate that the pathLenCon‐
22 straints field should not be present.
23
24 const char * policyLanguage
25 OID describing the language of policy .
26
27 const char * policy
28 uint8_t 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 [22m(0) is returned, otherwise a negative
38 error value.
39
41 Report bugs to <bugs@gnutls.org>.
42 Home page: http://www.gnutls.org
43
44
46 Copyright © 2001-2014 Free Software Foundation, Inc..
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 /usr/share/doc/gnutls/ directory does not contain the HTML form
54 visit
55
56 http://www.gnutls.org/manual/
57
58gnutls 3.3.29 gnutls_x509_crt_set_proxy(3)