Package org.digidoc4j

Interface SignatureValidationResult

  • All Superinterfaces:
    ValidationResult
    All Known Subinterfaces:
    ContainerValidationResult

    public interface SignatureValidationResult
    extends ValidationResult
    Validation result information. For Asic the SignatureValidationResult contains only information for the first signature of each signature XML file
    • Method Detail

      • getReports

        List<org.digidoc4j.impl.asic.report.SignatureValidationReport> getReports()
        Get SignatureValidationReports from signature validation data.
        Returns:
        SignatureValidationReport
      • getSimpleReports

        List<eu.europa.esig.dss.validation.reports.SimpleReport> getSimpleReports()
        Get SignatureSimpleReport from signature validation data.
        Returns:
        SignatureValidationReport
      • getIndication

        eu.europa.esig.dss.validation.policy.rules.Indication getIndication​(String signatureId)
        Get indication from simple report.
        Parameters:
        signatureId - id of signature
        Returns:
        signatureId
      • getSubIndication

        eu.europa.esig.dss.validation.policy.rules.SubIndication getSubIndication​(String signatureId)
        Get subIndication from simple report.
        Parameters:
        signatureId - id of signature
        Returns:
        subIndication
      • getSignatureQualification

        eu.europa.esig.dss.validation.SignatureQualification getSignatureQualification​(String signatureId)
        Get SignatureQualification from simple report.
        Parameters:
        signatureId - id of signature
        Returns:
        SignatureQualification
      • getReport

        String getReport()
        Get validation report.
        Returns:
        report
      • saveXmlReports

        void saveXmlReports​(Path directory)
        Save validation reports in given directory.
        Parameters:
        directory - Directory where to save XML files.