Sha256: f1ec6f53bf10dfa60b1e1534ed0b003f3f50568bd587d75b077a072dce3d759a

Contents?: true

Size: 1.56 KB

Versions: 4

Compression:

Stored size: 1.56 KB

Contents

.\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
.TH "gnutls_certificate_get_peers" 3 "2.4.2" "gnutls" "gnutls"
.SH NAME
gnutls_certificate_get_peers \- return the peer's raw certificate
.SH SYNOPSIS
.B #include <gnutls/gnutls.h>
.sp
.BI "const gnutls_datum_t * gnutls_certificate_get_peers(gnutls_session_t          " session ", unsigned int * " list_size ");"
.SH ARGUMENTS
.IP "gnutls_session_t          session" 12
is a gnutls session
.IP "unsigned int * list_size" 12
is the length of the certificate list
.SH "DESCRIPTION"
Get the peer's raw certificate (chain) as sent by the peer.  These
certificates are in raw format (DER encoded for X.509).  In case of
a X.509 then a certificate list may be present.  The first
certificate in the list is the peer's certificate, following the
issuer's certificate, then the issuer's issuer etc.

In case of OpenPGP keys a single key will be returned in raw
format.
.SH "RETURNS"
return a pointer to a \fBgnutls_datum_t\fP containing our
certificates, or \fBNULL\fP in case of an error or if no certificate
was used.
.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_certificate_get_peers.3
glib2-1.1.7-x86-mingw32 vendor/local/share/man/man3/gnutls_certificate_get_peers.3
glib2-1.1.6-x86-mingw32 vendor/local/share/man/man3/gnutls_certificate_get_peers.3
glib2-1.1.5-x86-mingw32 vendor/local/share/man/man3/gnutls_certificate_get_peers.3