Class XAdESSignaturePolicy
java.lang.Object
eu.europa.esig.dss.validation.SignaturePolicy
eu.europa.esig.dss.xades.validation.XAdESSignaturePolicy
- All Implemented Interfaces:
Serializable
Represents a signature policy extracted from a XAdES (XML) signature
- See Also:
-
Constructor Summary
ConstructorDescriptionThe default constructor for XAdESSignaturePolicy.XAdESSignaturePolicy
(String identifier) The default constructor for XAdESSignaturePolicy. -
Method Summary
Modifier and TypeMethodDescriptionReturns a 'ds:Transforms' element if found NOTE: XAdES onlyGets a list of Strings describing the 'ds:Transforms' element NOTE: XAdES onlyvoid
setTransforms
(Element transforms) Sets a 'ds:Transforms' nodeMethods inherited from class eu.europa.esig.dss.validation.SignaturePolicy
getDescription, getDigest, getDocSpecification, getDocumentationReferences, getIdentifier, getPolicyContent, getUri, getUserNotice, isHashAsInTechnicalSpecification, isZeroHash, setDescription, setDigest, setDocSpecification, setDocumentationReferences, setHashAsInTechnicalSpecification, setPolicyContent, setUri, setUserNotice, setZeroHash
-
Constructor Details
-
XAdESSignaturePolicy
public XAdESSignaturePolicy()The default constructor for XAdESSignaturePolicy. It represents the implied policy. -
XAdESSignaturePolicy
The default constructor for XAdESSignaturePolicy.- Parameters:
identifier
- the policy identifier
-
-
Method Details
-
getTransforms
Returns a 'ds:Transforms' element if found NOTE: XAdES only- Returns:
- 'ds:Transforms'
Element
if found, NULL otherwise
-
setTransforms
Sets a 'ds:Transforms' node- Parameters:
transforms
-Element
-
getTransformsDescription
Gets a list of Strings describing the 'ds:Transforms' element NOTE: XAdES only- Overrides:
getTransformsDescription
in classSignaturePolicy
- Returns:
- a description of 'ds:Transforms' if present, null otherwise
-