1gnutls_x509_crt_verify_hash(3)      gnutls      gnutls_x509_crt_verify_hash(3)
2
3
4

NAME

6       gnutls_x509_crt_verify_hash - API function
7

SYNOPSIS

9       #include <gnutls/compat.h>
10
11       int  gnutls_x509_crt_verify_hash(gnutls_x509_crt_t  crt,  unsigned  int
12       flags, const gnutls_datum_t * hash, const gnutls_datum_t * signature);
13

ARGUMENTS

15       gnutls_x509_crt_t crt
16                   Holds the certificate
17
18       unsigned int flags
19                   should be 0 for now
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 certificate.
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

REPORTING BUGS

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

SEE ALSO

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