Debian Codegraph @

doc/functions/gnutls_dh_params_import_dsa

raw
1
2
3
4
5 @deftypefun {int} {gnutls_dh_params_import_dsa} (gnutls_dh_params_t @var{dh_params}, gnutls_x509_privkey_t @var{key})
6 @var{dh_params}: The parameters
7
8 @var{key}: holds a DSA private key
9
10 This function will import the prime and generator of the DSA key for use
11 in the Diffie-Hellman key exchange.
12
13 @strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned,
14 otherwise a negative error code is returned.
15 @end deftypefun