1gnutls_dh_get_pubkey(3)             gnutls             gnutls_dh_get_pubkey(3)
2
3
4

NAME

6       gnutls_dh_get_pubkey - This function returns the peer's public key used
7       in DH authentication
8

SYNOPSIS

10       #include <gnutls/gnutls.h>
11
12       int  gnutls_dh_get_pubkey(gnutls_session_t  session,  gnutls_datum_t  *
13       raw_key);
14

ARGUMENTS

16       gnutls_session_t session
17                   is a gnutls session
18
19       gnutls_datum_t * raw_key
20                   will hold the public key.
21

DESCRIPTION

23       This function will return the peer's public key used in the last Diffie
24       Hellman authentication.  This function should be used for  both  anony‐
25       mous and ephemeral diffie Hellman.  The output parameters must be freed
26       with gnutls_free().
27
28       Returns a negative value in case of an error.
29

REPORTING BUGS

31       Report bugs to <bug-gnutls@gnu.org>.
32
34       Copyright © 2006 Free Software Foundation.
35       Permission is granted to make and distribute verbatim  copies  of  this
36       manual  provided  the  copyright  notice and this permission notice are
37       preserved on all copies.
38

SEE ALSO

40       The full documentation for gnutls is maintained as  a  Texinfo  manual.
41       If  the  info  and gnutls programs are properly installed at your site,
42       the command
43
44              info gnutls
45
46       should give you access to the complete manual.
47
48
49
50gnutls                               1.6.3             gnutls_dh_get_pubkey(3)
Impressum