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