1gnutls_x509_crt_verify_data(3) gnutls gnutls_x509_crt_verify_data(3)
2
3
4
6 gnutls_x509_crt_verify_data - This function will verify the given
7 signed data.
8
10 #include <gnutls/x509.h>
11
12 int gnutls_x509_crt_verify_data(gnutls_x509_crt_t crt, unsigned int
13 flags, const gnutls_datum_t * data, const gnutls_datum_t * signature);
14
16 gnutls_x509_crt_t crt
17 Holds the certificate
18
19 unsigned int flags
20 should be 0 for now
21
22 const gnutls_datum_t * data
23 holds the data to be signed
24
25 const gnutls_datum_t * signature
26 contains the signature
27
29 This function will verify the given signed data, using the parameters
30 from the certificate.
31
32 In case of a verification failure 0 is returned, and 1 on success.
33
35 Report bugs to <bug-gnutls@gnu.org>.
36
38 Copyright © 2006 Free Software Foundation.
39 Permission is granted to make and distribute verbatim copies of this
40 manual provided the copyright notice and this permission notice are
41 preserved on all copies.
42
44 The full documentation for gnutls is maintained as a Texinfo manual.
45 If the info and gnutls programs are properly installed at your site,
46 the command
47
48 info gnutls
49
50 should give you access to the complete manual.
51
52
53
54gnutls 1.6.3 gnutls_x509_crt_verify_data(3)