Apache CXF API

org.apache.cxf.xkms.x509.validator
Class DateValidator

java.lang.Object
  extended by org.apache.cxf.xkms.x509.validator.DateValidator
All Implemented Interfaces:
Validator

public class DateValidator
extends Object
implements Validator


Constructor Summary
DateValidator()
           
 
Method Summary
 boolean isCertificateChainValid(List<X509Certificate> certificates)
           
 boolean isCertificateValid(X509Certificate certificate)
          Checks if a certificate is within its validity period.
 StatusType validate(ValidateRequestType request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateValidator

public DateValidator()
Method Detail

isCertificateValid

public boolean isCertificateValid(X509Certificate certificate)
Checks if a certificate is within its validity period.

Parameters:
certificate - to check
Returns:
the validity state of the certificate

validate

public StatusType validate(ValidateRequestType request)
Specified by:
validate in interface Validator

isCertificateChainValid

public boolean isCertificateChainValid(List<X509Certificate> certificates)

Apache CXF API

Apache CXF