gnutls_openpgp_keyring_check_id(3)

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.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 8
  5. 9

Reporting bugs

Report bugs to <[email protected]>.
Home page: http://www.gnutls.org

From gnutls-doc 3.5.8-5+deb9u5 in Debian 9 (Stretch). Parsed by carta from the page's man source.