KEY_EXISTS(3)

NAME
key_exists - check whether a public key is known

SYNOPSIS
#include <pgplib.h>
int
key_exists(PGPKEYID key);

DESCRIPTION
Probes the database for the values of key.

RETURN VALUES
If key is in the database 1 is returned, if not, 0 is returned. Upon error, -1 is returned.

SEE ALSO
keydb_init(PGPlib) PGPlib

HISTORY
Written by Tage Stabell-Kulø. First appeared in PGPlib 0.1