Class SignatureScope
java.lang.Object
eu.europa.esig.dss.validation.scope.SignatureScope
- All Implemented Interfaces:
IdentifierBasedObject
,Serializable
- Direct Known Subclasses:
ContainerSignatureScope
,CounterSignatureScope
,DigestSignatureScope
,FullSignatureScope
,HTTPHeaderSignatureScope
,PdfByteRangeSignatureScope
,SignatureScopeWithTransformations
This class describes the scope of the signature
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
SignatureScope
(String name, Digest digest) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
addChildSignatureScope
(SignatureScope signatureScope) Adds a new childSignatureScope
boolean
Returns a list of dependent signature scopes (e.g.abstract String
Gets the signature scope descriptionGets digests of the documentgetDSSId()
Returns the unique DSS IdentifierReturns aString
representation of the DSS IdentifiergetName()
Gets name of the documentReturns a list of transformations on the original document when applicableabstract SignatureScopeType
getType()
Returns type of the signature scopeint
hashCode()
toString()
-
Constructor Details
-
Method Details
-
getName
Gets name of the document- Returns:
String
-
getDigest
Gets digests of the document- Returns:
Digest
-
getDescription
Gets the signature scope description- Returns:
String
-
getTransformations
Returns a list of transformations on the original document when applicable- Returns:
- a list of
String
s
-
getType
Returns type of the signature scope- Returns:
SignatureScopeType
-
getChildren
Returns a list of dependent signature scopes (e.g. Manifest entries)- Returns:
- a list of
SignatureScope
s
-
addChildSignatureScope
Adds a new childSignatureScope
- Parameters:
signatureScope
-SignatureScope
to add
-
getDSSId
Returns the unique DSS Identifier- Specified by:
getDSSId
in interfaceIdentifierBasedObject
- Returns:
DataIdentifier
-
getDSSIdAsString
Returns aString
representation of the DSS Identifier- Returns:
String
-
toString
-
equals
-
hashCode
public int hashCode()
-