1gnutls_certificate_get_ours(3) gnutls gnutls_certificate_get_ours(3)
2
3
4
6 gnutls_certificate_get_ours - This function returns the raw certificate
7 sent in the last handshake
8
10 #include <gnutls/gnutls.h>
11
12 const gnutls_datum_t * gnutls_certificate_get_ours(gnutls_session_t
13 session);
14
16 gnutls_session_t session
17 is a gnutls session
18
20 This function will return the certificate as sent to the peer, in the
21 last handshake. These certificates are in raw format. In X.509 this is
22 a certificate list. In OpenPGP this is a single certificate. Returns
23 NULL in case of an error, or if no certificate was used.
24
26 Report bugs to <bug-gnutls@gnu.org>.
27
29 Copyright © 2006 Free Software Foundation.
30 Permission is granted to make and distribute verbatim copies of this
31 manual provided the copyright notice and this permission notice are
32 preserved on all copies.
33
35 The full documentation for gnutls is maintained as a Texinfo manual.
36 If the info and gnutls programs are properly installed at your site,
37 the command
38
39 info gnutls
40
41 should give you access to the complete manual.
42
43
44
45gnutls 1.6.3 gnutls_certificate_get_ours(3)