Class XmlPolicyWithTransforms
java.lang.Object
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 DSSTransforms 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaneu.europa.esig.dss.enumerations.DigestAlgorithmbyte[]String[]getId()eu.europa.esig.dss.enumerations.ObjectIdentifierQualifiereu.europa.esig.dss.model.SpDocSpecificationgetSpuri()Gets the list of Transforms to incorporate into the signatureeu.europa.esig.dss.model.UserNoticeinthashCode()booleanisEmpty()booleanbooleanvoidsetDescription(String arg0) voidsetDigestAlgorithm(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0) voidsetDigestValue(byte[] arg0) voidsetDocumentationReferences(String... arg0) voidsetHashAsInTechnicalSpecification(boolean arg0) voidvoidsetQualifier(eu.europa.esig.dss.enumerations.ObjectIdentifierQualifier arg0) voidsetSpDocSpecification(eu.europa.esig.dss.model.SpDocSpecification arg0) voidvoidsetTransforms(List<DSSTransform> transforms) Sets the list of Transforms to incorporate into the signaturevoidsetUserNotice(eu.europa.esig.dss.model.UserNotice arg0) toString()
-
Constructor Details
-
XmlPolicyWithTransforms
public XmlPolicyWithTransforms()Default constructor
-
-
Method Details
-
getTransforms
Gets the list of Transforms to incorporate into the signature- Returns:
- a list of
DSSTransforms
-
setTransforms
Sets the list of Transforms to incorporate into the signature- Parameters:
transforms- a list ofDSSTransforms
-
isEmpty
public boolean isEmpty() -
hashCode
public int hashCode() -
equals
-
toString
-
getId
-
setId
-
getQualifier
public eu.europa.esig.dss.enumerations.ObjectIdentifierQualifier getQualifier() -
setQualifier
public void setQualifier(eu.europa.esig.dss.enumerations.ObjectIdentifierQualifier arg0) -
getDescription
-
setDescription
-
getDocumentationReferences
-
setDocumentationReferences
-
getDigestAlgorithm
public eu.europa.esig.dss.enumerations.DigestAlgorithm getDigestAlgorithm() -
setDigestAlgorithm
public void setDigestAlgorithm(eu.europa.esig.dss.enumerations.DigestAlgorithm arg0) -
getDigestValue
public byte[] getDigestValue() -
setDigestValue
public void setDigestValue(byte[] arg0) -
getSpuri
-
setSpuri
-
getUserNotice
public eu.europa.esig.dss.model.UserNotice getUserNotice() -
setUserNotice
public void setUserNotice(eu.europa.esig.dss.model.UserNotice arg0) -
getSpDocSpecification
public eu.europa.esig.dss.model.SpDocSpecification getSpDocSpecification() -
setSpDocSpecification
public void setSpDocSpecification(eu.europa.esig.dss.model.SpDocSpecification arg0) -
isHashAsInTechnicalSpecification
public boolean isHashAsInTechnicalSpecification() -
setHashAsInTechnicalSpecification
public void setHashAsInTechnicalSpecification(boolean arg0) -
isSPQualifierPresent
public boolean isSPQualifierPresent()
-