1gnutls_pubkey_export_gost_raw2(3)   gnutls   gnutls_pubkey_export_gost_raw2(3)
2
3
4

NAME

6       gnutls_pubkey_export_gost_raw2 - API function
7

SYNOPSIS

9       #include <gnutls/abstract.h>
10
11       int         gnutls_pubkey_export_gost_raw2(gnutls_pubkey_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, unsigned int flags);
15

ARGUMENTS

17       gnutls_pubkey_t key
18                   Holds the public key
19
20       gnutls_ecc_curve_t * curve
21                   will hold the curve (may be NULL)
22
23       gnutls_digest_algorithm_t * digest
24                   will hold the curve (may be NULL)
25
26       gnutls_gost_paramset_t * paramset
27                   will hold the parameters id (may be NULL)
28
29       gnutls_datum_t * x
30                   will hold the x-coordinate (may be NULL)
31
32       gnutls_datum_t * y
33                   will hold the y-coordinate (may be NULL)
34
35       unsigned int flags
36                   flags from gnutls_abstract_export_flags_t
37

DESCRIPTION

39       This function will export the GOST public key's parameters found in the
40       given  key.  The new parameters will be allocated using gnutls_malloc()
41       and will be stored in the appropriate datum.
42

NOTE

44       parameters will be stored with least significant byte first. On version
45       3.6.3 this was incorrectly returned in big-endian format.
46

RETURNS

48       GNUTLS_E_SUCCESS on success, otherwise a negative error code.
49

SINCE

51       3.6.3
52

REPORTING BUGS

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

SEE ALSO

65       The  full  documentation  for gnutls is maintained as a Texinfo manual.
66       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
67       visit
68
69       https://www.gnutls.org/manual/
70
71gnutls                               3.7.8   gnutls_pubkey_export_gost_raw2(3)
Impressum