use of xades4j.providers.ValidationDataException in project xades4j by luisgoncalves.
the class SignerC method getFormatSpecificSignatureProperties.
@Override
protected void getFormatSpecificSignatureProperties(Collection<SignedSignatureProperty> formatSpecificSignedSigProps, Collection<UnsignedSignatureProperty> formatSpecificUnsignedSigProps, List<X509Certificate> signingCertificateChain) throws XAdES4jException {
super.getFormatSpecificSignatureProperties(formatSpecificSignedSigProps, formatSpecificUnsignedSigProps, signingCertificateChain);
ValidationData vData = this.validationDataProvider.getValidationData(signingCertificateChain);
if (null == vData)
throw new ValidationDataException("Validation data not provided");
PropertiesUtils.addXadesCProperties(formatSpecificUnsignedSigProps, vData);
}
Aggregations