Sha256: 4f7ef18c520ecfad89d757777adee1c3c91330969039f2e0916a703434c5b1d0

Contents?: true

Size: 1.93 KB

Versions: 4

Compression:

Stored size: 1.93 KB

Contents

.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "gnutls_x509_crt_get_subject_alt_name2" 3 "2.4.2" "gnutls" "gnutls"
.SH NAME
gnutls_x509_crt_get_subject_alt_name2 \- Get certificate's alternative name, if any
.SH SYNOPSIS
.B #include <gnutls/x509.h>
.sp
.BI "int gnutls_x509_crt_get_subject_alt_name2(gnutls_x509_crt_t " cert ", unsigned int " seq ", void * " ret ", size_t * " ret_size ", unsigned int* " ret_type ", unsigned int * " critical ");"
.SH ARGUMENTS
.IP "gnutls_x509_crt_t cert" 12
should contain a \fBgnutls_x509_crt_t\fP structure
.IP "unsigned int seq" 12
specifies the sequence number of the alt name (0 for the first one, 1 for the second etc.)
.IP "void * ret" 12
is the place where the alternative name will be copied to
.IP "size_t * ret_size" 12
holds the size of ret.
.IP "unsigned int* ret_type" 12
holds the type of the alternative name (one of gnutls_x509_subject_alt_name_t).
.IP "unsigned int * critical" 12
will be non zero if the extension is marked as critical (may be null)
.SH "DESCRIPTION"
This function will return the alternative names, contained in the
given certificate. It is the same as \fBgnutls_x509_crt_get_subject_alt_name()\fP
except for the fact that it will return the type of the alternative
name in \fIret_type\fP even if the function fails for some reason (i.e.
the buffer provided is not enough).

The return values are the same as with \fBgnutls_x509_crt_get_subject_alt_name()\fP.
.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_get_subject_alt_name2.3
glib2-1.1.7-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name2.3
glib2-1.1.6-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name2.3
glib2-1.1.5-x86-mingw32 vendor/local/share/man/man3/gnutls_x509_crt_get_subject_alt_name2.3