Package org.digidoc4j

Interface ContainerValidationResult

All Superinterfaces:
SignatureValidationResult, ValidationResult
All Known Implementing Classes:
org.digidoc4j.impl.AbstractContainerValidationResult, AsicCompositeContainerValidationResult, AsicContainerValidationResult, AsicSTimestampedContainerValidationResult, DDocContainerValidationResult, DDocSignatureValidationResult, PadesContainerValidationResult, TimeStampContainerValidationResult

public interface ContainerValidationResult extends SignatureValidationResult
An entity encapsulating the validation result information for a whole container.
  • Method Details

    • getIndication

      eu.europa.esig.dss.enumerations.Indication getIndication(String tokenId)
      Get indication of the token (signature or timestamp) with the specified ID.
      Specified by:
      getIndication in interface SignatureValidationResult
      Parameters:
      tokenId - ID of a token (signature or timestamp)
      Returns:
      indication of the specified token or null if the specified ID does not map to any token in this validation result
      See Also:
    • getSubIndication

      eu.europa.esig.dss.enumerations.SubIndication getSubIndication(String tokenId)
      Get subIndication of the token (signature or timestamp) with the specified ID.
      Specified by:
      getSubIndication in interface SignatureValidationResult
      Parameters:
      tokenId - ID of a token (signature or timestamp)
      Returns:
      subIndication of the specified token or null if the specified ID does not map to any token in this validation result
      See Also:
    • getValidationResult

      ValidationResult getValidationResult(String tokenId)
      Get validation result of the token (signature or timestamp) with the specified ID.
      Parameters:
      tokenId - ID of a token (signature or timestamp)
      Returns:
      validation result of the specified token or null if the specified ID does not map to any token
      See Also:
    • getSignatureIdList

      List<String> getSignatureIdList()
      Get the list of signature unique IDs.
      Returns:
      list of signature unique IDs
      See Also:
    • getTimestampIdList

      List<String> getTimestampIdList()
      Get the list of timestamp unique IDs.
      Returns:
      list of timestamp unique IDs
      See Also:
    • getTimestampQualification

      eu.europa.esig.dss.enumerations.TimestampQualification getTimestampQualification(String timestampId)
      Get TimestampQualification of the timestamp with the specified ID.
      Parameters:
      timestampId - ID of a timestamp
      Returns:
      timestamp qualification of the specified timestamp or null if the specified ID does not map to any timestamp in this validation result
      See Also:
    • getTimestampReports

      List<TimestampValidationReport> getTimestampReports()
      Get TimestampValidationReports from signature validation data.
      Returns:
      list of TimestampValidationReport
    • getContainerErrors

      List<DigiDoc4JException> getContainerErrors()
      Get list container related errors. DDOC returns a list of errors encountered when validating meta data ASIC returns a list of errors encountered when opening the container
      Returns:
      List of exceptions
    • getContainerWarnings

      List<DigiDoc4JException> getContainerWarnings()
      Get list container related warnings.
      Returns:
      List of exceptions