1gnutls_pubkey_import_gost_raw(3)    gnutls    gnutls_pubkey_import_gost_raw(3)
2
3
4

NAME

6       gnutls_pubkey_import_gost_raw - API function
7

SYNOPSIS

9       #include <gnutls/abstract.h>
10
11       int          gnutls_pubkey_import_gost_raw(gnutls_pubkey_t         key,
12       gnutls_ecc_curve_t     curve,     gnutls_digest_algorithm_t     digest,
13       gnutls_gost_paramset_t   paramset,  const  gnutls_datum_t  *  x,  const
14       gnutls_datum_t * y);
15

ARGUMENTS

17       gnutls_pubkey_t key
18                   The structure to store the parsed key
19
20       gnutls_ecc_curve_t curve
21                   holds the curve
22
23       gnutls_digest_algorithm_t digest
24                   holds the digest
25
26       gnutls_gost_paramset_t paramset
27                   holds the parameters id
28
29       const gnutls_datum_t * x
30                   holds the x-coordinate
31
32       const gnutls_datum_t * y
33                   holds the y-coordinate
34

DESCRIPTION

36       This function will convert the given GOST public key's parameters to  a
37       gnutls_pubkey_t.   The  output will be stored in  key .   digest should
38       be    one    of    GNUTLS_DIG_GOSR_94,    GNUTLS_DIG_STREEBOG_256    or
39       GNUTLS_DIG_STREEBOG_512.   If   paramset  is  set to GNUTLS_GOST_PARAM‐
40       SET_UNKNOWN default one will be selected depending on  digest .
41

NOTE

43       parameters should be stored with least significant byte first. On  ver‐
44       sion 3.6.3 big-endian format was used incorrectly.
45

RETURNS

47       On  success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative er‐
48       ror value.
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.6    gnutls_pubkey_import_gost_raw(3)
Impressum