Blame doc/functions/gnutls_pubkey_export_rsa_raw
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_pubkey_export_rsa_raw} (gnutls_pubkey_t @var{key}, gnutls_datum_t * @var{m}, gnutls_datum_t * @var{e})
|
|
Packit Service |
4684c1 |
@var{key}: Holds the certificate
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{m}: will hold the modulus (may be @code{NULL} )
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{e}: will hold the public exponent (may be @code{NULL} )
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will export the RSA public key's parameters found in
|
|
Packit Service |
4684c1 |
the given structure. The new parameters will be allocated using
|
|
Packit Service |
4684c1 |
@code{gnutls_malloc()} and will be stored in the appropriate datum.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function allows for @code{NULL} parameters since 3.4.1.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} @code{GNUTLS_E_SUCCESS} on success, otherwise a negative error code.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Since:} 3.3.0
|
|
Packit Service |
4684c1 |
@end deftypefun
|