1gnutls_dh_get_peers_public_bits(3)  gnutls  gnutls_dh_get_peers_public_bits(3)
2
3
4

NAME

6       gnutls_dh_get_peers_public_bits - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int gnutls_dh_get_peers_public_bits(gnutls_session_t session);
12

ARGUMENTS

14       gnutls_session_t session
15                   is a gnutls session
16

DESCRIPTION

18       Get  the  Diffie-Hellman  public  key  bit  size.  Can be used for both
19       anonymous and ephemeral Diffie-Hellman.
20

RETURNS

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

REPORTING BUGS

26       Report bugs to <bugs@gnutls.org>.
27       Home page: http://www.gnutls.org
28
29
31       Copyright © 2001-2018 Free Software Foundation, Inc., and others.
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

SEE ALSO

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.6.5  gnutls_dh_get_peers_public_bits(3)
Impressum