Class SignatureSignatureScope
java.lang.Object
eu.europa.esig.dss.model.scope.SignatureScope
eu.europa.esig.dss.spi.validation.scope.SignatureSignatureScope
- All Implemented Interfaces:
IdentifierBasedObject
,Serializable
Defines a signature scope covering a signature
- See Also:
-
Constructor Summary
ConstructorDescriptionSignatureSignatureScope
(AdvancedSignature signature, DSSDocument document) Default constructor to create a signature scope -
Method Summary
Modifier and TypeMethodDescriptiongetDescription
(TokenIdentifierProvider tokenIdentifierProvider) Gets the signature scope descriptiongetDSSId()
Returns the unique DSS IdentifiergetName
(TokenIdentifierProvider tokenIdentifierProvider) Returns a signature scope namegetType()
Returns type of the signature scopeMethods inherited from class eu.europa.esig.dss.model.scope.SignatureScope
addChildSignatureScope, equals, getChildren, getDigest, getDocumentName, getDSSIdAsString, getTransformations, hashCode, toString
-
Constructor Details
-
SignatureSignatureScope
Default constructor to create a signature scope- Parameters:
signature
-AdvancedSignature
document
-DSSDocument
representing the covered signature document (NOTE: not necessary to be a signature file)
-
-
Method Details
-
getDSSId
Description copied from class:SignatureScope
Returns the unique DSS Identifier- Specified by:
getDSSId
in interfaceIdentifierBasedObject
- Overrides:
getDSSId
in classSignatureScope
- Returns:
DataIdentifier
-
getName
Description copied from class:SignatureScope
Returns a signature scope name- Overrides:
getName
in classSignatureScope
- Parameters:
tokenIdentifierProvider
-TokenIdentifierProvider
to extract a token identifier, when required- Returns:
String
-
getDescription
Description copied from class:SignatureScope
Gets the signature scope description- Specified by:
getDescription
in classSignatureScope
- Parameters:
tokenIdentifierProvider
-TokenIdentifierProvider
to extract a token identifier, when required- Returns:
String
-
getType
Description copied from class:SignatureScope
Returns type of the signature scope- Specified by:
getType
in classSignatureScope
- Returns:
SignatureScopeType
-