



@deftypefun {time_t} {gnutls_openpgp_crt_get_subkey_expiration_time} (gnutls_openpgp_crt_t @var{key}, unsigned int @var{idx})
@var{key}: the structure that contains the OpenPGP public key.

@var{idx}: the subkey index

Get subkey expiration time.  A value of '0' means that the key
doesn't expire at all.

@strong{Returns:} the time when the OpenPGP key expires.

@strong{Since:} 2.4.0
@end deftypefun
