Class XmlPolicyWithTransforms
java.lang.Object
eu.europa.esig.dss.model.Policy
eu.europa.esig.dss.xades.signature.XmlPolicyWithTransforms
- All Implemented Interfaces:
Serializable
This class represents an extension of
Policy
class allowing addition
of a custom list of DSSTransform
s to build the ds:Transforms element
NOTE: The digest should be computed by the user and set through the
setDigestValue(digestValue)
method
Use DSSXMLUtils.applyTransforms(document, transforms)
in order obtain
policy binaries after transforms- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the list of Transforms to incorporate into the signatureint
hashCode()
boolean
isEmpty()
Checks if the object's data is not filledvoid
setTransforms
(List<DSSTransform> transforms) Sets the list of Transforms to incorporate into the signaturetoString()
Methods inherited from class eu.europa.esig.dss.model.Policy
getDescription, getDigestAlgorithm, getDigestValue, getDocumentationReferences, getId, getQualifier, getSpDocSpecification, getSpuri, getUserNotice, isHashAsInTechnicalSpecification, isSPQualifierPresent, setDescription, setDigestAlgorithm, setDigestValue, setDocumentationReferences, setHashAsInTechnicalSpecification, setId, setQualifier, setSpDocSpecification, setSpuri, setUserNotice
-
Constructor Details
-
XmlPolicyWithTransforms
public XmlPolicyWithTransforms()Default constructor
-
-
Method Details
-
getTransforms
Gets the list of Transforms to incorporate into the signature- Returns:
- a list of
DSSTransform
s
-
setTransforms
Sets the list of Transforms to incorporate into the signature- Parameters:
transforms
- a list ofDSSTransform
s
-
isEmpty
-
hashCode
-
equals
-
toString
-