com.entrust.toolkit.x509.revocation
Class RevocationStore

java.lang.Object
  |
  +--com.entrust.toolkit.x509.revocation.RevocationStore
Direct Known Subclasses:
CollectionRS, X509CRLRS

public abstract class RevocationStore
extends java.lang.Object

RevocationStore determines the revocation status of a specific certificate.


Constructor Summary
RevocationStore()
           
 
Method Summary
protected abstract  boolean check(X509Certificate certificate, X509Certificate[] chain)
           Determines whether or not the specified certificate has been revoked.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RevocationStore

public RevocationStore()
Method Detail

check

protected abstract boolean check(X509Certificate certificate,
                                 X509Certificate[] chain)
                          throws CertificationException
Determines whether or not the specified certificate has been revoked.

If this revocation store is responsible for certificate, the method returns true. If certificate has been revoked, the method throws an exception.

If this revocation store is not responsible for certificate, the method returns false.

Parameters:
certificate - the certificate to be checked for revocation
chain - the certificate chain of which certificate is part
Returns:
true if this revocation store is responsible for the specified certificate, false otherwise
Throws:
RevocationException - thrown if the certificate is revoked
CertificationSignatureException - thrown if the CRL signature validation fails
ExtensionException - thrown if the CRL extension validation fails