



@deftypefun {int} {gnutls_pubkey_import_dh_raw} (gnutls_pubkey_t @var{key}, const gnutls_dh_params_t @var{params}, const gnutls_datum_t * @var{y})
@var{key}: The structure to store the parsed key

@var{params}: holds the @code{gnutls_dh_params_t} 

@var{y}: holds the y

This function will convert the given Diffie-Hellman raw parameters
to the native @code{gnutls_pubkey_t}  format.  The output will be stored
in  @code{key} .

@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
negative error value.

@strong{Since:} 3.8.2
@end deftypefun
