Blame doc/functions/gnutls_x509_privkey_export_ecc_raw
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_x509_privkey_export_ecc_raw} (gnutls_x509_privkey_t @var{key}, gnutls_ecc_curve_t * @var{curve}, gnutls_datum_t * @var{x}, gnutls_datum_t * @var{y}, gnutls_datum_t * @var{k})
|
|
Packit Service |
4684c1 |
@var{key}: a key
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{curve}: will hold the curve
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{x}: will hold the x-coordinate
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{y}: will hold the y-coordinate
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{k}: will hold the private key
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will export the ECC private key's parameters found
|
|
Packit Service |
4684c1 |
in 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 |
In EdDSA curves the @code{y} parameter will be @code{NULL} and the other parameters
|
|
Packit Service |
4684c1 |
will be in the native format for the curve.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a
|
|
Packit Service |
4684c1 |
negative error value.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Since:} 3.0
|
|
Packit Service |
4684c1 |
@end deftypefun
|