Blame doc/manpages/gnutls_x509_crt_get_proxy.3

Packit 549fdc
.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
Packit 549fdc
.TH "gnutls_x509_crt_get_proxy" 3 "3.6.2" "gnutls" "gnutls"
Packit 549fdc
.SH NAME
Packit 549fdc
gnutls_x509_crt_get_proxy \- API function
Packit 549fdc
.SH SYNOPSIS
Packit 549fdc
.B #include <gnutls/x509.h>
Packit 549fdc
.sp
Packit 549fdc
.BI "int gnutls_x509_crt_get_proxy(gnutls_x509_crt_t " cert ", unsigned int * " critical ", int * " pathlen ", char ** " policyLanguage ", char ** " policy ", size_t * " sizeof_policy ");"
Packit 549fdc
.SH ARGUMENTS
Packit 549fdc
.IP "gnutls_x509_crt_t cert" 12
Packit 549fdc
should contain a \fBgnutls_x509_crt_t\fP type
Packit 549fdc
.IP "unsigned int * critical" 12
Packit 549fdc
will be non\-zero if the extension is marked as critical
Packit 549fdc
.IP "int * pathlen" 12
Packit 549fdc
pointer to output integer indicating path length (may be
Packit 549fdc
NULL), non\-negative error codes indicate a present pCPathLenConstraint
Packit 549fdc
field and the actual value, \-1 indicate that the field is absent.
Packit 549fdc
.IP "char ** policyLanguage" 12
Packit 549fdc
output variable with OID of policy language
Packit 549fdc
.IP "char ** policy" 12
Packit 549fdc
output variable with policy data
Packit 549fdc
.IP "size_t * sizeof_policy" 12
Packit 549fdc
output variable size of policy data
Packit 549fdc
.SH "DESCRIPTION"
Packit 549fdc
This function will get information from a proxy certificate.  It
Packit 549fdc
reads the ProxyCertInfo X.509 extension (1.3.6.1.5.5.7.1.14).
Packit 549fdc
.SH "RETURNS"
Packit 549fdc
On success, \fBGNUTLS_E_SUCCESS\fP (0) is returned,
Packit 549fdc
otherwise a negative error code is returned.
Packit 549fdc
.SH "REPORTING BUGS"
Packit 549fdc
Report bugs to <bugs@gnutls.org>.
Packit 549fdc
.br
Packit 549fdc
Home page: http://www.gnutls.org
Packit 549fdc
Packit 549fdc
.SH COPYRIGHT
Packit 549fdc
Copyright \(co 2001-2018 Free Software Foundation, Inc., and others.
Packit 549fdc
.br
Packit 549fdc
Copying and distribution of this file, with or without modification,
Packit 549fdc
are permitted in any medium without royalty provided the copyright
Packit 549fdc
notice and this notice are preserved.
Packit 549fdc
.SH "SEE ALSO"
Packit 549fdc
The full documentation for
Packit 549fdc
.B gnutls
Packit 549fdc
is maintained as a Texinfo manual.
Packit 549fdc
If the /usr/share/doc/gnutls/
Packit 549fdc
directory does not contain the HTML form visit
Packit 549fdc
.B
Packit 549fdc
.IP http://www.gnutls.org/manual/
Packit 549fdc
.PP