1gnutls_dh_get_peers_public_bits(3) gnutls gnutls_dh_get_peers_public_bits(3)
2
3
4
6 gnutls_dh_get_peers_public_bits - API function
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_dh_get_peers_public_bits(gnutls_session_t session);
12
14 gnutls_session_t session
15 is a gnutls session
16
18 Get the Diffie-Hellman public key bit size. Can be used for both
19 anonymous and ephemeral Diffie-Hellman.
20
22 The public key bit size used in the last Diffie-Hellman key exchange
23 with the peer, or a negative error code in case of error.
24
26 Report bugs to <bugs@gnutls.org>.
27 Home page: http://www.gnutls.org
28
29
31 Copyright © 2001-2014 Free Software Foundation, Inc..
32 Copying and distribution of this file, with or without modification,
33 are permitted in any medium without royalty provided the copyright
34 notice and this notice are preserved.
35
37 The full documentation for gnutls is maintained as a Texinfo manual.
38 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
39 visit
40
41 http://www.gnutls.org/manual/
42
43gnutls 3.3.29 gnutls_dh_get_peers_public_bits(3)