List of usage examples for java.security.cert X509CRL isRevoked
public abstract boolean isRevoked(Certificate cert);
From source file:org.apache.synapse.transport.certificatevalidation.crl.CRLVerifier.java
private RevocationStatus getRevocationStatus(X509CRL x509CRL, X509Certificate peerCert) { if (x509CRL.isRevoked(peerCert)) { return RevocationStatus.REVOKED; } else {//from ww w .j a v a 2s . c o m return RevocationStatus.GOOD; } }