org.apache.cxf.xkms.x509.validator
Class DirectTrustValidator
java.lang.Object
org.apache.cxf.xkms.x509.validator.DirectTrustValidator
- All Implemented Interfaces:
- Validator
public class DirectTrustValidator
- extends Object
- implements Validator
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectTrustValidator
public DirectTrustValidator(CertificateRepo certRepo)
isCertificateInRepo
public boolean isCertificateInRepo(X509Certificate certificate)
- Checks if a certificate is located in XKMS storage.
- Parameters:
certificate
- to check
- Returns:
- true if certificate is found
validate
public StatusType validate(ValidateRequestType request)
- Specified by:
validate
in interface Validator
Apache CXF