1gnutls_privkey_export_gost_raw2(3)  gnutls  gnutls_privkey_export_gost_raw2(3)
2
3
4

NAME

6       gnutls_privkey_export_gost_raw2 - API function
7

SYNOPSIS

9       #include <gnutls/abstract.h>
10
11       int        gnutls_privkey_export_gost_raw2(gnutls_privkey_t        key,
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, gnutls_datum_t * k, unsigned int flags);
15

ARGUMENTS

17       gnutls_privkey_t key
18                   Holds the public key
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
35       gnutls_datum_t * k
36                   will hold the private key
37
38       unsigned int flags
39                   flags from gnutls_abstract_export_flags_t
40

DESCRIPTION

42       This function will export the GOST private key's  parameters  found  in
43       the  given  structure.  The  new  parameters  will  be  allocated using
44       gnutls_malloc() and will be stored in the appropriate datum.
45

NOTE

47       parameters will be stored with least significant byte first. On version
48       3.6.3 this was incorrectly returned in big-endian format.
49

RETURNS

51       GNUTLS_E_SUCCESS on success, otherwise a negative error code.
52

SINCE

54       3.6.3
55

REPORTING BUGS

57       Report bugs to <bugs@gnutls.org>.
58       Home page: https://www.gnutls.org
59
60
62       Copyright © 2001- Free Software Foundation, Inc., and others.
63       Copying  and  distribution  of this file, with or without modification,
64       are permitted in any medium without royalty provided the copyright  no‐
65       tice and this notice are preserved.
66

SEE ALSO

68       The  full  documentation  for gnutls is maintained as a Texinfo manual.
69       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
70       visit
71
72       https://www.gnutls.org/manual/
73
74gnutls                               3.7.2  gnutls_privkey_export_gost_raw2(3)
Impressum