public boolean isRevoked ( Certificate cert ) { if ( revokedMap . isEmpty ( ) || ( ! ( cert instanceof X509Certificate ) ) ) { return false ; } X509Certificate xcert = ( X509Certificate ) cert ; X509IssuerSerial issuerSerial = new X509IssuerSerial ( xcert ) ; return revokedMap . containsKey ( issuerSerial ) ; }
Checks whether the given certificate is on this CRL .