Tizen 2.0 Release
[external/libgnutls26.git] / doc / manpages / gnutls_x509_crt_get_proxy.3
1 .\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
2 .TH "gnutls_x509_crt_get_proxy" 3 "2.12.6.1" "gnutls" "gnutls"
3 .SH NAME
4 gnutls_x509_crt_get_proxy \- API function
5 .SH SYNOPSIS
6 .B #include <gnutls/x509.h>
7 .sp
8 .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 ");"
9 .SH ARGUMENTS
10 .IP "gnutls_x509_crt_t cert" 12
11 should contain a \fBgnutls_x509_crt_t\fP structure
12 .IP "unsigned int * critical" 12
13 will be non zero if the extension is marked as critical
14 .IP "int * pathlen" 12
15 pointer to output integer indicating path length (may be
16 NULL), non\-negative values indicate a present pCPathLenConstraint
17 field and the actual value, \-1 indicate that the field is absent.
18 .IP "char ** policyLanguage" 12
19 output variable with OID of policy language
20 .IP "char ** policy" 12
21 output variable with policy data
22 .IP "size_t * sizeof_policy" 12
23 output variable size of policy data
24 .SH "DESCRIPTION"
25 This function will get information from a proxy certificate.  It
26 reads the ProxyCertInfo X.509 extension (1.3.6.1.5.5.7.1.14).
27 .SH "RETURNS"
28 On success, \fBGNUTLS_E_SUCCESS\fP (zero) is returned,
29 otherwise an error code is returned.
30 .SH "REPORTING BUGS"
31 Report bugs to <bug-gnutls@gnu.org>.
32 GnuTLS home page: http://www.gnu.org/software/gnutls/
33 General help using GNU software: http://www.gnu.org/gethelp/
34 .SH COPYRIGHT
35 Copyright \(co 2008 Free Software Foundation.
36 .br
37 Copying and distribution of this file, with or without modification,
38 are permitted in any medium without royalty provided the copyright
39 notice and this notice are preserved.
40 .SH "SEE ALSO"
41 The full documentation for
42 .B gnutls
43 is maintained as a Texinfo manual.  If the
44 .B info
45 and
46 .B gnutls
47 programs are properly installed at your site, the command
48 .IP
49 .B info gnutls
50 .PP
51 should give you access to the complete manual.