Sha256: c9da1cd6b860ba37c8bdef42f8983d6a9cdfc82d0bb8226dcc64cddc6a1022f9
Contents?: true
Size: 1.77 KB
Versions: 4
Compression:
Stored size: 1.77 KB
Contents
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gnutls_x509_crt_get_extension_data" 3 "2.4.2" "gnutls" "gnutls" .SH NAME gnutls_x509_crt_get_extension_data \- Get the specified extension data .SH SYNOPSIS .B #include <gnutls/x509.h> .sp .BI "int gnutls_x509_crt_get_extension_data(gnutls_x509_crt_t " cert ", int " indx ", void * " data ", size_t * " sizeof_data ");" .SH ARGUMENTS .IP "gnutls_x509_crt_t cert" 12 should contain a \fBgnutls_x509_crt_t\fP structure .IP "int indx" 12 Specifies which extension OID to send. Use zero to get the first one. .IP "void * data" 12 a pointer to a structure to hold the data (may be null) .IP "size_t * sizeof_data" 12 initially holds the size of \fIoid\fP .SH "DESCRIPTION" This function will return the requested extension data in the certificate. The extension data will be stored as a string in the provided buffer. Use \fBgnutls_x509_crt_get_extension_info()\fP to extract the OID and critical flag. Use \fBgnutls_x509_crt_get_extension_by_oid()\fP instead, if you want to get data indexed by the extension OID rather than sequence. Return 0 on success. A negative value may be returned in case of parsing error. If you have reached the last extension available GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE will be returned. .SH "REPORTING BUGS" Report bugs to <bug-gnutls@gnu.org>. .SH COPYRIGHT Copyright \(co 2008 Free Software Foundation. .br Permission is granted to make and distribute verbatim copies of this manual provided the copyright notice and this permission notice are preserved on all copies. .SH "SEE ALSO" The full documentation for .B gnutls is maintained as a Texinfo manual. If the .B info and .B gnutls programs are properly installed at your site, the command .IP .B info gnutls .PP should give you access to the complete manual.
Version data entries
4 entries across 4 versions & 1 rubygems