1gnutls_openpgp_crt_verify_ring(3) gnutls gnutls_openpgp_crt_verify_ring(3)
2
3
4
6 gnutls_openpgp_crt_verify_ring - API function
7
9 #include <gnutls/openpgp.h>
10
11 int gnutls_openpgp_crt_verify_ring(gnutls_openpgp_crt_t key,
12 gnutls_openpgp_keyring_t keyring, unsigned int flags, unsigned int *
13 verify);
14
16 gnutls_openpgp_crt_t key
17 the structure that holds the key.
18
19 gnutls_openpgp_keyring_t keyring
20 holds the keyring to check against
21
22 unsigned int flags
23 unused (should be 0)
24
25 unsigned int * verify
26 will hold the certificate verification output.
27
29 Verify all signatures in the key, using the given set of keys
30 (keyring).
31
32 The key verification output will be put in verify and will be one or
33 more of the gnutls_certificate_status_t enumerated elements bitwise
34 or'd.
35
37 GNUTLS_E_SUCCESS on success, or an error code.
38
40 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
41 http://www.gnu.org/software/gnutls/ General help using GNU software:
42 http://www.gnu.org/gethelp/
43
45 Copyright © 2008 Free Software Foundation.
46 Copying and distribution of this file, with or without modification,
47 are permitted in any medium without royalty provided the copyright
48 notice and this notice are preserved.
49
51 The full documentation for gnutls is maintained as a Texinfo manual.
52 If the info and gnutls programs are properly installed at your site,
53 the command
54
55 info gnutls
56
57 should give you access to the complete manual.
58
59
60
61gnutls 2.12.6.1 gnutls_openpgp_crt_verify_ring(3)