1gnutls_dh_get_prime_bits(3) gnutls gnutls_dh_get_prime_bits(3)
2
3
4
6 gnutls_dh_get_prime_bits - This function returns the bits used in DH
7 authentication
8
10 #include <gnutls/gnutls.h>
11
12 int gnutls_dh_get_prime_bits(gnutls_session_t session);
13
15 gnutls_session_t session
16 is a gnutls session
17
19 This function will return the bits of the prime used in the last Diffie
20 Hellman authentication with the peer. Should be used for both anonymous
21 and 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_prime_bits(3)