Package xades4j.providers
Interface ValidationDataProvider
- All Known Implementing Classes:
ValidationDataFromCertValidationProvider
public interface ValidationDataProvider
Provides the validation data that should be used to validate a signing certificate.
This is used for producing XAdES-C signatures.
- Author:
- Luís
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetValidationData
(List<X509Certificate> certChainFragment) Gets the validation data that should be used to validate a certificate.
-
Method Details
-
getValidationData
ValidationData getValidationData(List<X509Certificate> certChainFragment) throws ValidationDataException Gets the validation data that should be used to validate a certificate.- Parameters:
certChainFragment
- the certificate that should be validated and possibly other certificates that are known to belong to the certification path- Returns:
- the validation data
- Throws:
ValidationDataException
- if the validation data cannot be obtained
-