org.apache.cxf.xkms.x509.validator
Class DateValidator
java.lang.Object
org.apache.cxf.xkms.x509.validator.DateValidator
- All Implemented Interfaces:
- Validator
public class DateValidator
- extends Object
- implements Validator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateValidator
public DateValidator()
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