time_t gnutls_openpgp_extract_key_creation_time( const gnutls_datum *cert );
time_t gnutls_openpgp_extract_key_expiration_time( const gnutls_datum *cert );
+int gnutls_openpgp_extract_key_id( const gnutls_datum *cert, unsigned char keyid[8]);
+
int gnutls_openpgp_verify_key( const gnutls_datum* keyring,
const gnutls_datum* key_list,
int key_list_length);
return 0;
}
-/*-
- * gnutls_openpgp_keyid - Gets the keyID
+/**
+ * gnutls_openpgp_extract_key_id - Gets the keyID
* @cert: the raw data that contains the OpenPGP public key.
* @keyid: the buffer to save the keyid.
*
* Returns the 64-bit keyID of the OpenPGP key.
- -*/
+ **/
int
-gnutls_openpgp_keyid( const gnutls_datum *cert, unsigned char keyid[8] )
+gnutls_openpgp_extract_key_id( const gnutls_datum *cert, unsigned char keyid[8] )
{
CDK_KBNODE kb_pk = NULL, pkt;
cdkPKT_public_key *pk = NULL;
char *fpr,
size_t *fprlen );
-int gnutls_openpgp_keyid(
+int gnutls_openpgp_extract_key_id(
const gnutls_datum *cert,
unsigned char keyid[8] );