Class XAdESSignaturePolicy
java.lang.Object
eu.europa.esig.dss.model.signature.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.model.signature.SignaturePolicy
getDescription, getDigest, getDocSpecification, getDocumentationReferences, getIdentifier, getPolicyContent, getUri, getUserNotice, getValidationResult, isHashAsInTechnicalSpecification, isZeroHash, setDescription, setDigest, setDocSpecification, setDocumentationReferences, setHashAsInTechnicalSpecification, setPolicyContent, setUri, setUserNotice, setValidationResult, 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
-
setTransforms
-
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
-