Class SignatureScopeWithTransformations
java.lang.Object
eu.europa.esig.dss.model.scope.SignatureScope
eu.europa.esig.dss.spi.validation.scope.SignatureScopeWithTransformations
- All Implemented Interfaces:
IdentifierBasedObject
,Serializable
- Direct Known Subclasses:
ManifestEntrySignatureScope
,ManifestSignatureScope
,XmlElementSignatureScope
,XPointerSignatureScope
The signature scope with the performed transforms
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
SignatureScopeWithTransformations
(DSSDocument document, List<String> transformations) Default constructor with a name extracted from a documentprotected
SignatureScopeWithTransformations
(String name, DSSDocument document, List<String> transformations) Default constructor with a name provided -
Method Summary
Modifier and TypeMethodDescriptionprotected String
addTransformationIfNeeded
(String description) Adds a description to the signature scope if neededboolean
Returns a list of transformations on the original document when applicableint
hashCode()
toString()
Methods inherited from class eu.europa.esig.dss.model.scope.SignatureScope
addChildSignatureScope, getChildren, getDescription, getDigest, getDocumentName, getDSSId, getDSSIdAsString, getName, getType
-
Constructor Details
-
SignatureScopeWithTransformations
Default constructor with a name extracted from a document- Parameters:
document
-DSSDocument
transformations
- list ofString
transform definitions
-
SignatureScopeWithTransformations
protected SignatureScopeWithTransformations(String name, DSSDocument document, List<String> transformations) Default constructor with a name provided- Parameters:
name
-String
filenamedocument
-DSSDocument
transformations
- list ofString
transform definitions
-
-
Method Details
-
addTransformationIfNeeded
-
getTransformations
Description copied from class:SignatureScope
Returns a list of transformations on the original document when applicable- Overrides:
getTransformations
in classSignatureScope
- Returns:
- a list of
String
s
-
toString
- Overrides:
toString
in classSignatureScope
-
equals
- Overrides:
equals
in classSignatureScope
-
hashCode
public int hashCode()- Overrides:
hashCode
in classSignatureScope
-