



@deftypefun {int} {gnutls_openpgp_privkey_get_key_id} (gnutls_openpgp_privkey_t @var{key}, gnutls_openpgp_keyid_t @var{keyid})
@var{key}: the structure that contains the OpenPGP secret key.

@var{keyid}: the buffer to save the keyid.

Get key-id.

@strong{Returns:} the 64-bit keyID of the OpenPGP key.

@strong{Since:} 2.4.0
@end deftypefun
