1gnutls_x509_crt_get_proxy(3)        gnutls        gnutls_x509_crt_get_proxy(3)
2
3
4

NAME

6       gnutls_x509_crt_get_proxy - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int  gnutls_x509_crt_get_proxy(gnutls_x509_crt_t  cert,  unsigned int *
12       critical, int * pathlen, char ** policyLanguage, char ** policy, size_t
13       * sizeof_policy);
14

ARGUMENTS

16       gnutls_x509_crt_t cert
17                   should contain a gnutls_x509_crt_t structure
18
19       unsigned int * critical
20                   will be non zero if the extension is marked as critical
21
22       int * pathlen
23                   pointer  to  output  integer indicating path length (may be
24                   NULL), non-negative values indicate a present pCPathLenCon‐
25                   straint  field  and  the actual value, -1 indicate that the
26                   field is absent.
27
28       char ** policyLanguage
29                   output variable with OID of policy language
30
31       char ** policy
32                   output variable with policy data
33
34       size_t * sizeof_policy
35                   output variable size of policy data
36

DESCRIPTION

38       This function will get information from a proxy certificate.  It  reads
39       the ProxyCertInfo X.509 extension (1.3.6.1.5.5.7.1.14).
40

RETURNS

42       On  success,  GNUTLS_E_SUCCESS  (zero)  is returned, otherwise an error
43       code is returned.
44

REPORTING BUGS

46       Report   bugs   to    <bug-gnutls@gnu.org>.     GnuTLS    home    page:
47       http://www.gnu.org/software/gnutls/  General  help  using GNU software:
48       http://www.gnu.org/gethelp/
49
51       Copyright © 2008 Free Software Foundation.
52       Copying and distribution of this file, with  or  without  modification,
53       are  permitted  in  any  medium  without royalty provided the copyright
54       notice and this notice are preserved.
55

SEE ALSO

57       The full documentation for gnutls is maintained as  a  Texinfo  manual.
58       If  the  info  and gnutls programs are properly installed at your site,
59       the command
60
61              info gnutls
62
63       should give you access to the complete manual.
64
65
66
67gnutls                             2.12.6.1       gnutls_x509_crt_get_proxy(3)
Impressum