public interface

CertificateValidationProvider

xades4j.providers.CertificateValidationProvider
Known Indirect Subclasses

Class Overview

Provides validation of certificates.

Summary

Public Methods
abstract ValidationData validate(X509CertSelector certSelector, Date validationDate, Collection<X509Certificate> otherCerts)

Public Methods

public abstract ValidationData validate (X509CertSelector certSelector, Date validationDate, Collection<X509Certificate> otherCerts)

Parameters
certSelector the selector of the leaf certificate, created using information from a X509Data element within KeyInfo data on KeyInfo
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, collected from KeyInfo. 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