1gnutls_certificate_get_ours(3) gnutls gnutls_certificate_get_ours(3)
2
3
4
6 gnutls_certificate_get_ours - API function
7
9 #include <gnutls/gnutls.h>
10
11 const gnutls_datum_t * gnutls_certificate_get_ours(gnutls_session_t
12 session);
13
15 gnutls_session_t session
16 is a gnutls session
17
19 Get the certificate as sent to the peer, in the last handshake. These
20 certificates are in raw format. In X.509 this is a certificate list.
21 In OpenPGP this is a single certificate.
22
24 return a pointer to a gnutls_datum_t containing our certificates, or
25 NULL in case of an error or if no certificate was used.
26
28 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
29 http://www.gnu.org/software/gnutls/ General help using GNU software:
30 http://www.gnu.org/gethelp/
31
33 Copyright © 2008 Free Software Foundation.
34 Copying and distribution of this file, with or without modification,
35 are permitted in any medium without royalty provided the copyright
36 notice and this notice are preserved.
37
39 The full documentation for gnutls is maintained as a Texinfo manual.
40 If the info and gnutls programs are properly installed at your site,
41 the command
42
43 info gnutls
44
45 should give you access to the complete manual.
46
47
48
49gnutls 2.12.6.1 gnutls_certificate_get_ours(3)