1gnutls_dh_params_export_raw(3)      gnutls      gnutls_dh_params_export_raw(3)
2
3
4

NAME

6       gnutls_dh_params_export_raw  -  This  function  will  export the raw DH
7       parameters
8

SYNOPSIS

10       #include <gnutls/gnutls.h>
11
12       int       gnutls_dh_params_export_raw(gnutls_dh_params_t        params,
13       gnutls_datum_t  *  prime,  gnutls_datum_t  *  generator, unsigned int *
14       bits);
15

ARGUMENTS

17       gnutls_dh_params_t params
18                   Holds the DH parameters
19
20       gnutls_datum_t * prime
21                   will hold the new prime
22
23       gnutls_datum_t * generator
24                   will hold the new generator
25
26       unsigned int * bits
27                   if non null will hold is the prime's number of bits
28

DESCRIPTION

30       This function will export the pair of prime and generator  for  use  in
31       the  Diffie-Hellman  key exchange. The new parameters will be allocated
32       using gnutls_malloc() and will be stored in the appropriate datum.
33

REPORTING BUGS

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

SEE ALSO

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