Sha256: 818404a31792d508c42826b988c37516c09b6efb1cf1dacb61edebb0e8521e60

Contents?: true

Size: 1.58 KB

Versions: 4

Compression:

Stored size: 1.58 KB

Contents

.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "gnutls_x509_crt_set_extension_by_oid" 3 "2.4.2" "gnutls" "gnutls"
.SH NAME
gnutls_x509_crt_set_extension_by_oid \- Set an arbitrary extension
.SH SYNOPSIS
.B #include <gnutls/x509.h>
.sp
.BI "int gnutls_x509_crt_set_extension_by_oid(gnutls_x509_crt_t " crt ", const char * " oid ", const void * " buf ", size_t " sizeof_buf ", unsigned int " critical ");"
.SH ARGUMENTS
.IP "gnutls_x509_crt_t crt" 12
should contain a gnutls_x509_crt_t structure
.IP "const char * oid" 12
holds an Object Identified in null terminated string
.IP "const void * buf" 12
a pointer to a DER encoded data
.IP "size_t sizeof_buf" 12
holds the size of \fIbuf\fP
.IP "unsigned int critical" 12
should be non zero if the extension is to be marked as critical
.SH "DESCRIPTION"
This function will set an the extension, by the specified OID, in
the certificate.  The extension data should be binary data DER
encoded.
.SH "RETURNS"
On success, \fBGNUTLS_E_SUCCESS\fP is returned, otherwise a
negative error value.and a negative value in case of an error.
.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

Version Path
glib2-1.1.8-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_crt_set_extension_by_oid.3
glib2-1.1.7-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_crt_set_extension_by_oid.3
glib2-1.1.6-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_crt_set_extension_by_oid.3
glib2-1.1.5-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_crt_set_extension_by_oid.3