1gnutls_openpgp_key_verify_trustdb(3)gnutlsgnutls_openpgp_key_verify_trustdb(3)
2
3
4

NAME

6       gnutls_openpgp_key_verify_trustdb - Verify all signatures in the key
7

SYNOPSIS

9       #include <gnutls/openpgp.h>
10
11       int     gnutls_openpgp_key_verify_trustdb(gnutls_openpgp_key_t     key,
12       gnutls_openpgp_trustdb_t trustdb, unsigned int flags,  unsigned  int  *
13       verify);
14

ARGUMENTS

16       gnutls_openpgp_key_t key
17                   the structure that holds the key.
18
19       gnutls_openpgp_trustdb_t trustdb
20                   holds the trustdb 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

DESCRIPTION

29       Checks  if the key is revoked or disabled, in the trustdb.  The verifi‐
30       cation output will be put in verify and will be  one  or  more  of  the
31       gnutls_certificate_status_t enumerated elements bitwise or'd.
32

GNUTLS_CERT_INVALID

34       A signature on the key is invalid.
35

GNUTLS_CERT_REVOKED

37       The key has been revoked.
38
39       Note  that  this function does not verify using any "web of trust". You
40       may use GnuPG for that purpose, or any other external PGP application.
41
42       Returns 0 on success.
43

REPORTING BUGS

45       Report bugs to <bug-gnutls@gnu.org>.
46
48       Copyright © 2006 Free Software Foundation.
49       Permission is granted to make and distribute verbatim  copies  of  this
50       manual  provided  the  copyright  notice and this permission notice are
51       preserved on all copies.
52

SEE ALSO

54       The full documentation for gnutls is maintained as  a  Texinfo  manual.
55       If  the  info  and gnutls programs are properly installed at your site,
56       the command
57
58              info gnutls
59
60       should give you access to the complete manual.
61
62
63
64gnutls                               1.6.3gnutls_openpgp_key_verify_trustdb(3)
Impressum