org.openoces.ooapi.validation.cert
Class PartitionedCRLCertificateValidator
java.lang.Object
org.openoces.ooapi.validation.cert.PartitionedCRLCertificateValidator
- All Implemented Interfaces:
- RevocationCheckerEngine
- public class PartitionedCRLCertificateValidator
- extends java.lang.Object
- implements RevocationCheckerEngine
This class implements a revocation checker engine based on partitioned crls. The partitioned crl to be used is
extracted from the certificate being validated. Once a partitioned crl has been downloaded it is not updated
until the current time is after the next-update timestamp indicated by the partitioned crl.
- Author:
- Carsten Raskgaard
|
Field Summary |
protected static java.lang.String |
rootContext
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
rootContext
protected static java.lang.String rootContext
PartitionedCRLCertificateValidator
public PartitionedCRLCertificateValidator()
downloadCRL
protected static java.security.cert.X509CRL downloadCRL(java.lang.String location)
checkCRLUpdateFields
protected void checkCRLUpdateFields(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