



@deftypefun {int} {gnutls_openpgp_crt_get_version} (gnutls_openpgp_crt_t @var{key})
@var{key}: the structure that contains the OpenPGP public key.

Extract the version of the OpenPGP key.

@strong{Returns:} the version number is returned, or a negative error code on errors.
@end deftypefun
