gnutls_openpgp_keyring_check_id3
Api function
Usage
#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) |
Overview
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.
Releases
5 releases since Debian 4.0 (Etch); the text changed 4 times.