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
36 Note that this function does not verify using any "web of trust". You
37 may use GnuPG for that purpose, or any other external PGP application.
38
40 GNUTLS_E_SUCCESS on success, or an error code.
41
43 Report bugs to <bugs@gnutls.org>.
44 Home page: http://www.gnutls.org
45
46
48 Copyright © 2001-2014 Free Software Foundation, Inc..
49 Copying and distribution of this file, with or without modification,
50 are permitted in any medium without royalty provided the copyright
51 notice and this notice are preserved.
52
54 The full documentation for gnutls is maintained as a Texinfo manual.
55 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
56 visit
57
58 http://www.gnutls.org/manual/
59
60gnutls 3.3.29 gnutls_openpgp_crt_verify_ring(3)