gnutls_openpgp_keyring_check_id man page

gnutls_openpgp_keyring_check_id — API function

Synopsis

#include <gnutls/openpgp.h>

int gnutls_openpgp_keyring_check_id(gnutls_openpgp_keyring_t ring, const gnutls_openpgp_keyid_t keyid, unsigned int flags);

Arguments

gnutls_openpgp_keyring_t ring
holds the keyring to check against
const gnutls_openpgp_keyid_t keyid
will hold the keyid to check for.
unsigned int flags
unused (should be 0)

Description

Check if a given key ID exists in the keyring.

Returns

GNUTLS_E_SUCCESS on success (if keyid exists) and a negative error code on failure.

Reporting Bugs

Report bugs to <bugs@gnutls.org>.
Home page: http://www.gnutls.org

See Also

The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit

http://www.gnutls.org/manual/

Info

3.5.5 gnutls gnutls