org.openoces.ooapi.validation.cert
Class PassiveCRLCertificateValidator

java.lang.Object
  extended byorg.openoces.ooapi.validation.cert.PassiveCRLCertificateValidator
All Implemented Interfaces:
RevocationCheckerEngine

public class PassiveCRLCertificateValidator
extends java.lang.Object
implements RevocationCheckerEngine


Field Summary
protected  java.security.cert.X509CRL currentCRL
           
 
Constructor Summary
PassiveCRLCertificateValidator()
           
 
Method Summary
protected  void checkCRLUpdateFields()
           
 boolean isRevoked(OcesCertificate c)
           
 void setCRL(java.security.cert.X509CRL crl)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

currentCRL

protected java.security.cert.X509CRL currentCRL
Constructor Detail

PassiveCRLCertificateValidator

public PassiveCRLCertificateValidator()
Method Detail

checkCRLUpdateFields

protected void checkCRLUpdateFields()
                             throws CRLExpiredException,
                                    CRLNotYetValidException
Throws:
CRLExpiredException
CRLNotYetValidException

setCRL

public void setCRL(java.security.cert.X509CRL crl)
            throws CRLExpiredException,
                   CRLNotYetValidException
Throws:
CRLExpiredException
CRLNotYetValidException

isRevoked

public boolean isRevoked(OcesCertificate c)
                  throws CRLExpiredException,
                         CRLNotYetValidException
Specified by:
isRevoked in interface RevocationCheckerEngine
Throws:
CRLExpiredException
CRLNotYetValidException