1gnutls_pubkey_export_ecc_raw(3)     gnutls     gnutls_pubkey_export_ecc_raw(3)
2
3
4

NAME

6       gnutls_pubkey_export_ecc_raw - API function
7

SYNOPSIS

9       #include <gnutls/abstract.h>
10
11       int          gnutls_pubkey_export_ecc_raw(gnutls_pubkey_t          key,
12       gnutls_ecc_curve_t * curve, gnutls_datum_t * x, gnutls_datum_t * y);
13

ARGUMENTS

15       gnutls_pubkey_t key
16                   Holds the public key
17
18       gnutls_ecc_curve_t * curve
19                   will hold the curve (may be NULL)
20
21       gnutls_datum_t * x
22                   will hold x-coordinate (may be NULL)
23
24       gnutls_datum_t * y
25                   will hold y-coordinate (may be NULL)
26

DESCRIPTION

28       This function will export the ECC public key's parameters found in  the
29       given  key.  The new parameters will be allocated using gnutls_malloc()
30       and will be stored in the appropriate datum.
31
32       In EdDSA curves the  y parameter will be NULL and the other  parameters
33       will be in the native format for the curve.
34
35       This function allows for NULL parameters since 3.4.1.
36

RETURNS

38       GNUTLS_E_SUCCESS on success, otherwise a negative error code.
39

SINCE

41       3.0
42

REPORTING BUGS

44       Report bugs to <bugs@gnutls.org>.
45       Home page: https://www.gnutls.org
46
47
49       Copyright © 2001-2023 Free Software Foundation, Inc., and others.
50       Copying  and  distribution  of this file, with or without modification,
51       are permitted in any medium without royalty provided the copyright  no‐
52       tice and this notice are preserved.
53

SEE ALSO

55       The  full  documentation  for gnutls is maintained as a Texinfo manual.
56       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
57       visit
58
59       https://www.gnutls.org/manual/
60
61gnutls                               3.8.2     gnutls_pubkey_export_ecc_raw(3)
Impressum