1gnutls_openpgp_key_verify_ring(3) gnutls gnutls_openpgp_key_verify_ring(3)
2
3
4
6 gnutls_openpgp_key_verify_ring - Verify all signatures in the key
7
9 #include <gnutls/openpgp.h>
10
11 int gnutls_openpgp_key_verify_ring(gnutls_openpgp_key_t key,
12 gnutls_openpgp_keyring_t keyring, unsigned int flags, unsigned int *
13 verify);
14
16 gnutls_openpgp_key_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 A signature on the key is invalid.
38
40 The key has been revoked.
41
42 Note that this function does not verify using any "web of trust". You
43 may use GnuPG for that purpose, or any other external PGP application.
44
45 Returns 0 on success.
46
48 Report bugs to <bug-gnutls@gnu.org>.
49
51 Copyright © 2006 Free Software Foundation.
52 Permission is granted to make and distribute verbatim copies of this
53 manual provided the copyright notice and this permission notice are
54 preserved on all copies.
55
57 The full documentation for gnutls is maintained as a Texinfo manual.
58 If the info and gnutls programs are properly installed at your site,
59 the command
60
61 info gnutls
62
63 should give you access to the complete manual.
64
65
66
67gnutls 1.6.3 gnutls_openpgp_key_verify_ring(3)