xades4j.providers
Interface CertificateValidationProvider
- All Known Implementing Classes:
- PKIXCertificateValidationProvider
public interface CertificateValidationProvider
Provides validation of certificates.
- Author:
- Luís
- See Also:
PKIXCertificateValidationProvider,
XadesVerificationProfile
validate
ValidationData validate(X509CertSelector certSelector,
Date validationDate,
Collection<X509Certificate> otherCerts)
throws CertificateValidationException,
UnexpectedJCAException
- Parameters:
certSelector - the selector of the leaf certificatevalidationDate - the time for which the validity of the certification path should be determinedotherCerts - 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.