Tizen 2.0 Release
[external/libgnutls26.git] / doc / manpages / gnutls_x509_crl_get_extension_oid.3
1 .\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
2 .TH "gnutls_x509_crl_get_extension_oid" 3 "2.12.6.1" "gnutls" "gnutls"
3 .SH NAME
4 gnutls_x509_crl_get_extension_oid \- API function
5 .SH SYNOPSIS
6 .B #include <gnutls/x509.h>
7 .sp
8 .BI "int gnutls_x509_crl_get_extension_oid(gnutls_x509_crl_t " crl ", int " indx ", void * " oid ", size_t * " sizeof_oid ");"
9 .SH ARGUMENTS
10 .IP "gnutls_x509_crl_t crl" 12
11 should contain a \fBgnutls_x509_crl_t\fP structure
12 .IP "int indx" 12
13 Specifies which extension OID to send, use zero to get the first one.
14 .IP "void * oid" 12
15 a pointer to a structure to hold the OID (may be null)
16 .IP "size_t * sizeof_oid" 12
17 initially holds the size of \fIoid\fP
18 .SH "DESCRIPTION"
19 This function will return the requested extension OID in the CRL.
20 The extension OID will be stored as a string in the provided
21 buffer.
22 .SH "RETURNS"
23 On success, \fBGNUTLS_E_SUCCESS\fP is returned, otherwise a
24 negative value in case of an error.  If your have reached the
25 last extension available \fBGNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE\fP
26 will be returned.
27 .SH "SINCE"
28 2.8.0
29 .SH "REPORTING BUGS"
30 Report bugs to <bug-gnutls@gnu.org>.
31 GnuTLS home page: http://www.gnu.org/software/gnutls/
32 General help using GNU software: http://www.gnu.org/gethelp/
33 .SH COPYRIGHT
34 Copyright \(co 2008 Free Software Foundation.
35 .br
36 Copying and distribution of this file, with or without modification,
37 are permitted in any medium without royalty provided the copyright
38 notice and this notice are preserved.
39 .SH "SEE ALSO"
40 The full documentation for
41 .B gnutls
42 is maintained as a Texinfo manual.  If the
43 .B info
44 and
45 .B gnutls
46 programs are properly installed at your site, the command
47 .IP
48 .B info gnutls
49 .PP
50 should give you access to the complete manual.