1gnutls_x509_crt_get_pk_gost_raw(3) gnutls gnutls_x509_crt_get_pk_gost_raw(3)
2
3
4
6 gnutls_x509_crt_get_pk_gost_raw - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_crt_get_pk_gost_raw(gnutls_x509_crt_t crt,
12 gnutls_ecc_curve_t * curve, gnutls_digest_algorithm_t * digest,
13 gnutls_gost_paramset_t * paramset, gnutls_datum_t * x, gnutls_datum_t *
14 y);
15
17 gnutls_x509_crt_t crt
18 Holds the certificate
19
20 gnutls_ecc_curve_t * curve
21 will hold the curve
22
23 gnutls_digest_algorithm_t * digest
24 will hold the digest
25
26 gnutls_gost_paramset_t * paramset
27 will hold the GOST parameter set ID
28
29 gnutls_datum_t * x
30 will hold the x-coordinate
31
32 gnutls_datum_t * y
33 will hold the y-coordinate
34
36 This function will export the GOST public key's parameters found in the
37 given certificate. The new parameters will be allocated using
38 gnutls_malloc() and will be stored in the appropriate datum.
39
41 GNUTLS_E_SUCCESS on success, otherwise a negative error code.
42
44 3.6.3
45
47 Report bugs to <bugs@gnutls.org>.
48 Home page: http://www.gnutls.org
49
50
52 Copyright © 2001-2018 Free Software Foundation, Inc., and others.
53 Copying and distribution of this file, with or without modification,
54 are permitted in any medium without royalty provided the copyright
55 notice and this notice are preserved.
56
58 The full documentation for gnutls is maintained as a Texinfo manual.
59 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
60 visit
61
62 http://www.gnutls.org/manual/
63
64gnutls 3.6.5 gnutls_x509_crt_get_pk_gost_raw(3)