1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
@deftypefun {int} {gnutls_rsa_params_import_raw} (gnutls_rsa_params_t @var{rsa_params}, const gnutls_datum_t * @var{m}, const gnutls_datum_t * @var{e}, const gnutls_datum_t * @var{d}, const gnutls_datum_t * @var{p}, const gnutls_datum_t * @var{q}, const gnutls_datum_t * @var{u})
@var{rsa_params}: Is a structure will hold the parameters
@var{m}: holds the modulus
@var{e}: holds the public exponent
@var{d}: holds the private exponent
@var{p}: holds the first prime (p)
@var{q}: holds the second prime (q)
@var{u}: holds the coefficient
This function will replace the parameters in the given structure.
The new parameters should be stored in the appropriate
gnutls_datum.
@strong{Returns:} @code{GNUTLS_E_SUCCESS} on success, or an negative error code.
@end deftypefun
|