java.lang.Object
eu.europa.esig.dss.model.scope.SignatureScope
- All Implemented Interfaces:
IdentifierBasedObject,Serializable
This class describes the scope of the signature
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSignatureScope(DSSDocument document) Default constructorprotectedSignatureScope(String name, DSSDocument document) Default constructor with name provided -
Method Summary
Modifier and TypeMethodDescriptionvoidaddChildSignatureScope(SignatureScope signatureScope) Adds a new childSignatureScopebooleanReturns a list of dependent signature scopes (e.g.abstract StringgetDescription(TokenIdentifierProvider tokenIdentifierProvider) Gets the signature scope descriptiongetDigest(eu.europa.esig.dss.enumerations.DigestAlgorithm digestAlgorithm) Gets digests of the documentGets name of the documentgetDSSId()Returns the unique DSS IdentifierReturns aStringrepresentation of the DSS IdentifiergetName(TokenIdentifierProvider tokenIdentifierProvider) Returns a signature scope nameReturns a list of transformations on the original document when applicableabstract eu.europa.esig.dss.enumerations.SignatureScopeTypegetType()Returns type of the signature scopeinthashCode()toString()
-
Constructor Details
-
SignatureScope
Default constructor- Parameters:
document-DSSDocument
-
SignatureScope
Default constructor with name provided- Parameters:
name-Stringdocument namedocument-DSSDocument
-
-
Method Details
-
getDocumentName
Gets name of the document- Returns:
String
-
getName
Returns a signature scope name- Parameters:
tokenIdentifierProvider-TokenIdentifierProviderto extract a token identifier, when required- Returns:
String
-
getDigest
Gets digests of the document- Parameters:
digestAlgorithm-DigestAlgorithm- Returns:
Digest
-
getDescription
Gets the signature scope description- Parameters:
tokenIdentifierProvider-TokenIdentifierProviderto extract a token identifier, when required- Returns:
String
-
getTransformations
Returns a list of transformations on the original document when applicable- Returns:
- a list of
Strings
-
getType
public abstract eu.europa.esig.dss.enumerations.SignatureScopeType 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
-
toString
-
equals
-
hashCode
public int hashCode()
-