1gnutls_x509_privkey_verify_seed(3)  gnutls  gnutls_x509_privkey_verify_seed(3)
2
3
4

NAME

6       gnutls_x509_privkey_verify_seed - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int      gnutls_x509_privkey_verify_seed(gnutls_x509_privkey_t     key,
12       gnutls_digest_algorithm_t digest, const 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                   it contains the digest algorithm used  for  key  generation
20                   (if applicable)
21
22       const void * seed
23                   the seed of the key to be checked with
24
25       size_t seed_size
26                   holds the size of  seed
27

DESCRIPTION

29       This function will verify that the given private key was generated from
30       the provided seed. If  seed is NULL then the seed stored in the  key 's
31       structure will be used for verification.
32

RETURNS

34       In  case  of a verification failure GNUTLS_E_PRIVKEY_VERIFICATION_ERROR
35       is returned, and zero or positive code on success.
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-2019 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
49       notice 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.6.7  gnutls_x509_privkey_verify_seed(3)
Impressum