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 - This function returns the bits used
7 in DH authentication
8
10 #include <gnutls/gnutls.h>
11
12 int gnutls_dh_get_peers_public_bits(gnutls_session_t session);
13
15 gnutls_session_t session
16 is a gnutls session
17
19 This function will return the bits used in the last Diffie Hellman
20 authentication with the peer. Should be used for both anonymous and
21 ephemeral diffie Hellman. Returns a negative value in case of an
22 error.
23
25 Report bugs to <bug-gnutls@gnu.org>.
26
28 Copyright © 2006 Free Software Foundation.
29 Permission is granted to make and distribute verbatim copies of this
30 manual provided the copyright notice and this permission notice are
31 preserved on all copies.
32
34 The full documentation for gnutls is maintained as a Texinfo manual.
35 If the info and gnutls programs are properly installed at your site,
36 the command
37
38 info gnutls
39
40 should give you access to the complete manual.
41
42
43
44gnutls 1.6.3 gnutls_dh_get_peers_public_bits(3)