Class DirectTrustValidator
- java.lang.Object
-
- org.apache.cxf.xkms.x509.validator.DirectTrustValidator
-
- All Implemented Interfaces:
org.apache.cxf.xkms.handlers.Validator
public class DirectTrustValidator extends Object implements org.apache.cxf.xkms.handlers.Validator
-
-
Constructor Summary
Constructors Constructor Description DirectTrustValidator(org.apache.cxf.xkms.x509.repo.CertificateRepo certRepo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
-
-
-
Method Detail
-
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 org.apache.cxf.xkms.model.xkms.StatusType validate(org.apache.cxf.xkms.model.xkms.ValidateRequestType request)
- Specified by:
validate
in interfaceorg.apache.cxf.xkms.handlers.Validator
-
-