silc_pkcs_silc_public_key_version

SYNOPSIS

    int silc_pkcs_silc_public_key_version(SilcPublicKey public_key);

DESCRIPTION

Returns the verison of the SILC Public Key indicated by `public_key'. Returns -1 if the `public_key' is not a SILC Public Key and the version number otherwise.