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
ConstructorsConstructorDescriptionSignatureSignatureScope(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-AdvancedSignaturedocument-DSSDocumentrepresenting the covered signature document (NOTE: not necessary to be a signature file)
-
-
Method Details
-
getDSSId
Description copied from class:SignatureScopeReturns the unique DSS Identifier- Specified by:
getDSSIdin interfaceIdentifierBasedObject- Overrides:
getDSSIdin classSignatureScope- Returns:
DataIdentifier
-
getName
Description copied from class:SignatureScopeReturns a signature scope name- Overrides:
getNamein classSignatureScope- Parameters:
tokenIdentifierProvider-TokenIdentifierProviderto extract a token identifier, when required- Returns:
String
-
getDescription
Description copied from class:SignatureScopeGets the signature scope description- Specified by:
getDescriptionin classSignatureScope- Parameters:
tokenIdentifierProvider-TokenIdentifierProviderto extract a token identifier, when required- Returns:
String
-
getType
Description copied from class:SignatureScopeReturns type of the signature scope- Specified by:
getTypein classSignatureScope- Returns:
SignatureScopeType
-