Class XmlRootSignatureScope
java.lang.Object
eu.europa.esig.dss.model.scope.SignatureScope
eu.europa.esig.dss.spi.validation.scope.SignatureScopeWithTransformations
eu.europa.esig.dss.xades.validation.scope.XmlElementSignatureScope
eu.europa.esig.dss.xades.validation.scope.XmlRootSignatureScope
- All Implemented Interfaces:
IdentifierBasedObject, Serializable
- Direct Known Subclasses:
XmlFullSignatureScope
Defines a root XML document signature scope
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedXmlRootSignatureScope(DSSDocument document, List<String> transformations) Default constructorprotectedXmlRootSignatureScope(String name, DSSDocument document, List<String> transformations) Constructor with document name -
Method Summary
Modifier and TypeMethodDescriptiongetDescription(TokenIdentifierProvider tokenIdentifierProvider) Gets the signature scope descriptiongetType()Returns type of the signature scopeMethods inherited from class SignatureScopeWithTransformations
addTransformationIfNeeded, getTransformations, toStringMethods inherited from class SignatureScope
addChildSignatureScope, equals, getChildren, getDigest, getDocumentName, getDSSId, getDSSIdAsString, getName, hashCode
-
Constructor Details
-
XmlRootSignatureScope
Default constructor- Parameters:
document-DSSDocumenttransformations- a list ofStringtransform descriptions
-
XmlRootSignatureScope
Constructor with document name- Parameters:
name-Stringdocument namedocument-DSSDocumenttransformations- a list ofStringtransform descriptions
-
-
Method Details
-
getDescription
Description copied from class:SignatureScopeGets the signature scope description- Overrides:
getDescriptionin classXmlElementSignatureScope- Parameters:
tokenIdentifierProvider-TokenIdentifierProviderto extract a token identifier, when required- Returns:
String
-
getType
Description copied from class:SignatureScopeReturns type of the signature scope- Overrides:
getTypein classXmlElementSignatureScope- Returns:
SignatureScopeType
-