Debian Codegraph @

doc/functions/gnutls_pubkey_export_ecc_x962

raw
1
2
3
4
5 @deftypefun {int} {gnutls_pubkey_export_ecc_x962} (gnutls_pubkey_t @var{key}, gnutls_datum_t * @var{parameters}, gnutls_datum_t * @var{ecpoint})
6 @var{key}: Holds the public key
7
8 @var{parameters}: DER encoding of an ANSI X9.62 parameters
9
10 @var{ecpoint}: DER encoding of ANSI X9.62 ECPoint
11
12 This function will export the ECC public key's parameters found in
13 the given certificate. The new parameters will be allocated using
14 @code{gnutls_malloc()} and will be stored in the appropriate datum.
15
16 @strong{Returns:} @code{GNUTLS_E_SUCCESS} on success, otherwise a negative error code.
17
18 @strong{Since:} 3.3.0
19 @end deftypefun