X509CRL.getVersion

Gets the {@code version} (version number) value from the CRL. The ASN.1 definition for this is: <pre> version Version OPTIONAL, -- if present, must be v2

Version ::= INTEGER { v1(0), v2(1), v3(2) } -- v3 does not apply to CRLs but appears for consistency -- with definition of Version for certs </pre>

@return the version number, i.e. 1 or 2.

class X509CRL
abstract
int
getVersion
()

Meta