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
ConstructorsModifierConstructorDescriptionprotectedSignatureScope(String name, Digest digest) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChildSignatureScope(SignatureScope signatureScope) Adds a new childSignatureScopebooleanReturns a list of dependent signature scopes (e.g.abstract StringGets the signature scope descriptionGets digests of the documentgetDSSId()Returns the unique DSS IdentifierReturns aStringrepresentation of the DSS IdentifiergetName()Gets name of the documentReturns a list of transformations on the original document when applicableabstract SignatureScopeTypegetType()Returns type of the signature scopeinthashCode()
-
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
Strings
-
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
SignatureScopes
-
addChildSignatureScope
Adds a new childSignatureScope- Parameters:
signatureScope-SignatureScopeto add
-
getDSSId
Returns the unique DSS Identifier- Specified by:
getDSSIdin interfaceIdentifierBasedObject- Returns:
DataIdentifier
-
getDSSIdAsString
Returns aStringrepresentation of the DSS Identifier- Returns:
String
-
equals
-
hashCode
public int hashCode()
-