



@deftypefun {int} {gnutls_openpgp_crt_get_subkey_idx} (gnutls_openpgp_crt_t @var{key}, const gnutls_openpgp_keyid_t @var{keyid})
@var{key}: the structure that contains the OpenPGP public key.

@var{keyid}: the keyid.

Get subkey's index.

@strong{Returns:} the index of the subkey or a negative error value.

@strong{Since:} 2.4.0
@end deftypefun
