public class DirectTrustValidator extends Object implements org.apache.cxf.xkms.handlers.Validator
Constructor and Description |
---|
DirectTrustValidator(org.apache.cxf.xkms.x509.repo.CertificateRepo certRepo) |
Modifier and Type | Method and Description |
---|---|
boolean |
isCertificateInRepo(X509Certificate certificate)
Checks if a certificate is located in XKMS storage.
|
org.apache.cxf.xkms.model.xkms.StatusType |
validate(org.apache.cxf.xkms.model.xkms.ValidateRequestType request) |
public DirectTrustValidator(org.apache.cxf.xkms.x509.repo.CertificateRepo certRepo)
public boolean isCertificateInRepo(X509Certificate certificate)
certificate
- to checkpublic org.apache.cxf.xkms.model.xkms.StatusType validate(org.apache.cxf.xkms.model.xkms.ValidateRequestType request)
validate
in interface org.apache.cxf.xkms.handlers.Validator
Apache CXF