public class AsicContainerValidationResult extends org.digidoc4j.impl.AbstractContainerValidationResult implements ContainerValidationResult
For BDOC the ValidationResult contains only information for the first signature of each signature XML file
Constructor and Description |
---|
AsicContainerValidationResult() |
Modifier and Type | Method and Description |
---|---|
void |
generate(AsicValidationReportBuilder validationReportBuilder)
Set report validationReportBuilder.
|
eu.europa.esig.dss.enumerations.Indication |
getIndication(String signatureId)
Get indication from simple report.
|
eu.europa.esig.dss.enumerations.SignatureQualification |
getSignatureQualification(String signatureId)
Get SignatureQualification from simple report.
|
eu.europa.esig.dss.enumerations.SubIndication |
getSubIndication(String signatureId)
Get subIndication from simple report.
|
void |
saveXmlReports(Path directory)
Save DSS validation reports in given directory.
|
addContainerErrors, addContainerWarnings, getContainerErrors, getContainerWarnings, setContainerErrors, setContainerWarnings
getReport, getReports, getSimpleReports, setReport
addErrors, addWarnings, getErrors, getWarnings, hasWarnings, isValid, print, setErrors, setWarnings
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getContainerErrors, getContainerWarnings
getReport, getReports, getSimpleReports
getErrors, getWarnings, hasWarnings, isValid
public eu.europa.esig.dss.enumerations.Indication getIndication(String signatureId)
SignatureValidationResult
getIndication
in interface SignatureValidationResult
getIndication
in class org.digidoc4j.impl.AbstractSignatureValidationResult
signatureId
- id of signaturepublic eu.europa.esig.dss.enumerations.SubIndication getSubIndication(String signatureId)
SignatureValidationResult
getSubIndication
in interface SignatureValidationResult
getSubIndication
in class org.digidoc4j.impl.AbstractSignatureValidationResult
signatureId
- id of signaturepublic eu.europa.esig.dss.enumerations.SignatureQualification getSignatureQualification(String signatureId)
SignatureValidationResult
getSignatureQualification
in interface SignatureValidationResult
getSignatureQualification
in class org.digidoc4j.impl.AbstractSignatureValidationResult
signatureId
- id of signaturepublic void saveXmlReports(Path directory)
saveXmlReports
in interface SignatureValidationResult
saveXmlReports
in class org.digidoc4j.impl.AbstractSignatureValidationResult
directory
- Directory where to save XML files. When null then do nothing.public void generate(AsicValidationReportBuilder validationReportBuilder)
validationReportBuilder
- Report validationReportBuilder to useCopyright © 2024. All rights reserved.