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 type
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 error codes indicate a present  pCPath‐
25                   LenConstraint  field and the actual value, -1 indicate that
26                   the 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 (0) is returned, otherwise a negative er‐
43       ror code is returned.
44

REPORTING BUGS

46       Report bugs to <bugs@gnutls.org>.
47       Home page: https://www.gnutls.org
48
49
51       Copyright © 2001-2023 Free Software Foundation, Inc., and others.
52       Copying and distribution of this file, with  or  without  modification,
53       are  permitted in any medium without royalty provided the copyright no‐
54       tice and this notice are preserved.
55

SEE ALSO

57       The full documentation for gnutls is maintained as  a  Texinfo  manual.
58       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
59       visit
60
61       https://www.gnutls.org/manual/
62
63gnutls                               3.8.2        gnutls_x509_crt_get_proxy(3)
Impressum