1gnutls_x509_ext_export_proxy(3) gnutls gnutls_x509_ext_export_proxy(3)
2
3
4
6 gnutls_x509_ext_export_proxy - API function
7
9 #include <gnutls/x509-ext.h>
10
11 int gnutls_x509_ext_export_proxy(int pathLenConstraint, const char *
12 policyLanguage, const char * policy, size_t sizeof_policy,
13 gnutls_datum_t * ext);
14
16 int pathLenConstraint
17 A negative value will remove the path length constraint,
18 while non-negative values will be set as the length of the
19 pathLenConstraints field.
20
21 const char * policyLanguage
22 OID describing the language of policy .
23
24 const char * policy
25 uint8_t byte array with policy language, can be NULL
26
27 size_t sizeof_policy
28 size of policy .
29
30 gnutls_datum_t * ext
31 The DER-encoded extension data; must be freed using
32 gnutls_free().
33
35 This function will convert the parameters provided to a proxyCertInfo
36 extension.
37
38 The ext data will be allocated using gnutls_malloc().
39
41 On success, GNUTLS_E_SUCCESS [22m(0) is returned, otherwise a negative
42 error value.
43
45 3.3.0
46
48 Report bugs to <bugs@gnutls.org>.
49 Home page: http://www.gnutls.org
50
51
53 Copyright © 2001-2018 Free Software Foundation, Inc., and others.
54 Copying and distribution of this file, with or without modification,
55 are permitted in any medium without royalty provided the copyright
56 notice and this notice are preserved.
57
59 The full documentation for gnutls is maintained as a Texinfo manual.
60 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
61 visit
62
63 http://www.gnutls.org/manual/
64
65gnutls 3.6.5 gnutls_x509_ext_export_proxy(3)