1gnutls_x509_ext_import_proxy(3)     gnutls     gnutls_x509_ext_import_proxy(3)
2
3
4

NAME

6       gnutls_x509_ext_import_proxy - API function
7

SYNOPSIS

9       #include <gnutls/x509-ext.h>
10
11       int  gnutls_x509_ext_import_proxy(const  gnutls_datum_t  *  ext,  int *
12       pathlen, char ** policyLanguage, char ** policy, size_t  *  sizeof_pol‐
13       icy);
14

ARGUMENTS

16       const gnutls_datum_t * ext
17                   the DER encoded extension data
18
19       int * pathlen
20                   pointer  to  output  integer indicating path length (may be
21                   NULL), non-negative error codes indicate a present  pCPath‐
22                   LenConstraint  field and the actual value, -1 indicate that
23                   the field is absent.
24
25       char ** policyLanguage
26                   output variable with OID of policy language
27
28       char ** policy
29                   output variable with policy data
30
31       size_t * sizeof_policy
32                   output variable with size of policy data
33

DESCRIPTION

35       This function will return the  information  from  a  proxy  certificate
36       extension.    It    reads    the    ProxyCertInfo    X.509    extension
37       (1.3.6.1.5.5.7.1.14).  The  policyLanguage and  policy values  must  be
38       deinitialized using gnutls_free() after use.
39

RETURNS

41       On  success,  GNUTLS_E_SUCCESS  (0)  is  returned, otherwise a negative
42       error value.
43

SINCE

45       3.3.0
46

REPORTING BUGS

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

SEE ALSO

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_import_proxy(3)
Impressum