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 Gets the certificate as sent to the peer in the last handshake. The
20 certificate is in raw (DER) format. No certificate list is being
21 returned. Only the first certificate.
22
24 a pointer to a gnutls_datum_t containing our certificate, or NULL in
25 case of an error or if no certificate was used.
26
28 Report bugs to <bugs@gnutls.org>.
29 Home page: http://www.gnutls.org
30
31
33 Copyright © 2001-2014 Free Software Foundation, Inc..
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 /usr/share/doc/gnutls/ directory does not contain the HTML form
41 visit
42
43 http://www.gnutls.org/manual/
44
45gnutls 3.3.29 gnutls_certificate_get_ours(3)