1gnutls_x509_privkey_get_seed(3)     gnutls     gnutls_x509_privkey_get_seed(3)
2
3
4

NAME

6       gnutls_x509_privkey_get_seed - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int  gnutls_x509_privkey_get_seed(gnutls_x509_privkey_t key, gnutls_di‐
12       gest_algorithm_t * digest, void * seed, size_t * seed_size);
13

ARGUMENTS

15       gnutls_x509_privkey_t key
16                   should contain a gnutls_x509_privkey_t type
17
18       gnutls_digest_algorithm_t * digest
19                   if non-NULL it will contain the digest algorithm  used  for
20                   key generation (if applicable)
21
22       void * seed where seed will be copied to
23
24       size_t * seed_size
25                   originally  holds  the size of  seed , will be updated with
26                   actual size
27

DESCRIPTION

29       This function will return the seed that was used to generate the  given
30       private  key.  That function will succeed only if the key was generated
31       as a provable key.
32

RETURNS

34       On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative  er‐
35       ror value.
36

SINCE

38       3.5.0
39

REPORTING BUGS

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

SEE ALSO

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