Sha256: fabcc4532883cd82293057fd76bfa059b95131cad9a9b09667998790a503f5d5

Contents?: true

Size: 1.75 KB

Versions: 4

Compression:

Stored size: 1.75 KB

Contents

.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "gnutls_x509_rdn_get_by_oid" 3 "2.4.2" "gnutls" "gnutls"
.SH NAME
gnutls_x509_rdn_get_by_oid \- parse an RDN sequence and returns a string
.SH SYNOPSIS
.B #include <gnutls/x509.h>
.sp
.BI "int gnutls_x509_rdn_get_by_oid(const gnutls_datum_t * " idn ", const char * " oid ", int " indx ", unsigned int " raw_flag ", void * " buf ", size_t * " sizeof_buf ");"
.SH ARGUMENTS
.IP "const gnutls_datum_t * idn" 12
should contain a DER encoded RDN sequence
.IP "const char * oid" 12
an Object Identifier
.IP "int indx" 12
In case multiple same OIDs exist in the RDN indicates which
to send. Use 0 for the first one.
.IP "unsigned int raw_flag" 12
If non zero then the raw DER data are returned.
.IP "void * buf" 12
a pointer to a structure to hold the peer's name
.IP "size_t * sizeof_buf" 12
holds the size of \fIbuf\fP
.SH "DESCRIPTION"
This function will return the name of the given Object identifier,
of the RDN sequence.  The name will be encoded using the rules
from RFC2253.
.SH "RETURNS"
On success, \fBGNUTLS_E_SUCCESS\fP is returned, or
\fBGNUTLS_E_SHORT_MEMORY_BUFFER\fP is returned and *\fIsizeof_buf\fP is
updated if the provided buffer is not long enough, otherwise a
negative error value.
.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_rdn_get_by_oid.3
glib2-1.1.7-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_rdn_get_by_oid.3
glib2-1.1.6-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_rdn_get_by_oid.3
glib2-1.1.5-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_rdn_get_by_oid.3