Apache CXF API

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

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

public class DirectTrustValidator
extends Object
implements Validator


Constructor Summary
DirectTrustValidator(CertificateRepo certRepo)
           
 
Method Summary
 boolean isCertificateInRepo(X509Certificate certificate)
          Checks if a certificate is located in XKMS storage.
 StatusType validate(ValidateRequestType request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DirectTrustValidator

public DirectTrustValidator(CertificateRepo certRepo)
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 StatusType validate(ValidateRequestType request)
Specified by:
validate in interface Validator

Apache CXF API

Apache CXF