1gnutls_x509_crt_get_pk_ecc_raw(3)   gnutls   gnutls_x509_crt_get_pk_ecc_raw(3)
2
3
4

NAME

6       gnutls_x509_crt_get_pk_ecc_raw - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int        gnutls_x509_crt_get_pk_ecc_raw(gnutls_x509_crt_t        crt,
12       gnutls_ecc_curve_t * curve, gnutls_datum_t * x, gnutls_datum_t * y);
13

ARGUMENTS

15       gnutls_x509_crt_t crt
16                   Holds the certificate
17
18       gnutls_ecc_curve_t * curve
19                   will hold the curve
20
21       gnutls_datum_t * x
22                   will hold the x-coordinate
23
24       gnutls_datum_t * y
25                   will hold the y-coordinate
26

DESCRIPTION

28       This function will export the ECC public key's parameters found in  the
29       given   certificate.   The  new  parameters  will  be  allocated  using
30       gnutls_malloc() 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

RETURNS

36       GNUTLS_E_SUCCESS on success, otherwise a negative error code.
37

SINCE

39       3.4.1
40

REPORTING BUGS

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

SEE ALSO

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