Class SignatureScope
java.lang.Object
eu.europa.esig.dss.validation.scope.SignatureScope
- All Implemented Interfaces:
eu.europa.esig.dss.model.identifier.IdentifierBasedObject,Serializable
- Direct Known Subclasses:
ContainerSignatureScope,CounterSignatureScope,DigestSignatureScope,FullSignatureScope,SignatureScopeWithTransformations
public abstract class SignatureScope
extends Object
implements eu.europa.esig.dss.model.identifier.IdentifierBasedObject, Serializable
This class describes the scope of the signature
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSignatureScope(String name, eu.europa.esig.dss.model.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 descriptioneu.europa.esig.dss.model.DigestGets 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 eu.europa.esig.dss.enumerations.SignatureScopeTypegetType()Returns type of the signature scopeinthashCode()toString()
-
Constructor Details
-
SignatureScope
Default constructor- Parameters:
name-Stringdocument namedigest-Digestdocument digest
-
-
Method Details
-
getName
Gets name of the document- Returns:
String
-
getDigest
public eu.europa.esig.dss.model.Digest 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
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 interfaceeu.europa.esig.dss.model.identifier.IdentifierBasedObject- Returns:
DataIdentifier
-
getDSSIdAsString
Returns aStringrepresentation of the DSS Identifier- Returns:
String
-
toString
-
equals
-
hashCode
public int hashCode()
-