1gnutls_pubkey_verify_hash(3)        gnutls        gnutls_pubkey_verify_hash(3)
2
3
4

NAME

6       gnutls_pubkey_verify_hash - API function
7

SYNOPSIS

9       #include <gnutls/abstract.h>
10
11       int  gnutls_pubkey_verify_hash(gnutls_pubkey_t key, unsigned int flags,
12       const gnutls_datum_t * hash, const gnutls_datum_t * signature);
13

ARGUMENTS

15       gnutls_pubkey_t key
16                   Holds the public key
17
18       unsigned int flags
19                   Zero or one of gnutls_pubkey_flags_t
20
21       const gnutls_datum_t * hash
22                   holds the hash digest to be verified
23
24       const gnutls_datum_t * signature
25                   contains the signature
26

DESCRIPTION

28       This function will verify the given signed digest, using the parameters
29       from the public key.
30
31       Deprecated.   This  function  cannot  be  easily  used  securely.   Use
32       gnutls_pubkey_verify_hash2() instead.
33

RETURNS

35       In case of  a  verification  failure  GNUTLS_E_PK_SIG_VERIFY_FAILED  is
36       returned, and zero or positive code on success.
37

SINCE

39       2.12.0
40

REPORTING BUGS

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

SEE ALSO

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