1gnutls_x509_privkey_verify_data(3) gnutls gnutls_x509_privkey_verify_data(3)
2
3
4
6 gnutls_x509_privkey_verify_data - Verify the signed data using private
7 key
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
34 In case of a verification failure 0 is returned, and 1 on success.
35
37 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
38 http://www.gnu.org/software/gnutls/ General help using GNU software:
39 http://www.gnu.org/gethelp/
40
42 Copyright © 2008 Free Software Foundation.
43 Copying and distribution of this file, with or without modification,
44 are permitted in any medium without royalty provided the copyright
45 notice and this notice are preserved.
46
48 The full documentation for gnutls is maintained as a Texinfo manual.
49 If the info and gnutls programs are properly installed at your site,
50 the command
51
52 info gnutls
53
54 should give you access to the complete manual.
55
56
57
58gnutls 2.8.6 gnutls_x509_privkey_verify_data(3)