xades4j.providers
Interface CertificateValidationProvider

All Known Implementing Classes:
PKIXCertificateValidationProvider

public interface CertificateValidationProvider

Provides validation of certificates.

Author:
Luís
See Also:
PKIXCertificateValidationProvider, XadesVerificationProfile

Method Summary
 ValidationData validate(X509CertSelector certSelector, Date validationDate, Collection<X509Certificate> otherCerts)
           
 

Method Detail

validate

ValidationData validate(X509CertSelector certSelector,
                        Date validationDate,
                        Collection<X509Certificate> otherCerts)
                        throws CertificateValidationException,
                               UnexpectedJCAException
Parameters:
certSelector - the selector of the leaf certificate
validationDate - the time for which the validity of the certification path should be determined
otherCerts - a set of certificates that can be used to validate de leaf certificate. May include the certificate that will be selected with certSelector. May be null.
Returns:
the validation data that validates the certificate selected by certSelector
Throws:
CertificateValidationException - if the certificate cannot be validated (see subclasses of the exception)
UnexpectedJCAException


Copyright © 2012. All Rights Reserved.