Class SignatureScopeWithTransformations

java.lang.Object
eu.europa.esig.dss.spi.validation.scope.SignatureScopeWithTransformations
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ManifestSignatureScope

public abstract class SignatureScopeWithTransformations extends Object
The signature scope with the performed transforms
See Also:
  • Constructor Details

    • SignatureScopeWithTransformations

      protected SignatureScopeWithTransformations(eu.europa.esig.dss.model.DSSDocument document, List<String> transformations)
      Default constructor with a name extracted from a document
      Parameters:
      document - DSSDocument
      transformations - list of String transform definitions
    • SignatureScopeWithTransformations

      protected SignatureScopeWithTransformations(String name, eu.europa.esig.dss.model.DSSDocument document, List<String> transformations)
      Default constructor with a name provided
      Parameters:
      name - String filename
      document - DSSDocument
      transformations - list of String transform definitions
  • Method Details

    • addTransformationIfNeeded

      protected String addTransformationIfNeeded(String description)
      Adds a description to the signature scope if needed
      Parameters:
      description - String to add
      Returns:
      String
    • getTransformations

      public List<String> getTransformations()
    • toString

      public String toString()
    • getDocumentName

      public String getDocumentName()
    • getName

      public String getName(eu.europa.esig.dss.model.identifier.TokenIdentifierProvider arg0)
    • getDigest

      public eu.europa.esig.dss.model.Digest getDigest(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0)
    • getDescription

      public abstract String getDescription(eu.europa.esig.dss.model.identifier.TokenIdentifierProvider arg0)
    • getType

      public abstract eu.europa.esig.dss.enumerations.SignatureScopeType getType()
    • getChildren

      public List<eu.europa.esig.dss.model.scope.SignatureScope> getChildren()
    • addChildSignatureScope

      public void addChildSignatureScope(eu.europa.esig.dss.model.scope.SignatureScope arg0)
    • getDSSId

      public eu.europa.esig.dss.model.identifier.DataIdentifier getDSSId()
    • getDSSIdAsString

      public String getDSSIdAsString()
    • equals

      public boolean equals(Object arg0)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object