1gnutls_openpgp_keyring_check_id(3) gnutls gnutls_openpgp_keyring_check_id(3)
2
3
4
6 gnutls_openpgp_keyring_check_id - Check if a key id exists in the
7 keyring
8
10 #include <gnutls/openpgp.h>
11
12 int gnutls_openpgp_keyring_check_id(gnutls_openpgp_keyring_t ring,
13 const unsigned char keyid[8], unsigned int flags);
14
16 gnutls_openpgp_keyring_t ring
17 holds the keyring to check against
18
19 const unsigned char keyid[8]
20
21 unsigned int flags
22 unused (should be 0)
23
25 Check if a given key ID exists in the keyring.
26
27 Returns 0 on success (if keyid exists) and a negative error code on
28 failure.
29
31 Report bugs to <bug-gnutls@gnu.org>.
32
34 Copyright © 2006 Free Software Foundation.
35 Permission is granted to make and distribute verbatim copies of this
36 manual provided the copyright notice and this permission notice are
37 preserved on all copies.
38
40 The full documentation for gnutls is maintained as a Texinfo manual.
41 If the info and gnutls programs are properly installed at your site,
42 the command
43
44 info gnutls
45
46 should give you access to the complete manual.
47
48
49
50gnutls 1.6.3 gnutls_openpgp_keyring_check_id(3)