Class SPDocDigestAsInSpecificationTransform
java.lang.Object
eu.europa.esig.dss.xades.reference.AbstractTransform
eu.europa.esig.dss.xades.reference.SPDocDigestAsInSpecificationTransform
- All Implemented Interfaces:
DSSTransform,Serializable
This is a special transform to be used exclusively within a xades:SignaturePolicyId
to define special digest computation rules.
See EN 319 132-1 "5.2.9 The SignaturePolicyIdentifier qualifying property"
- See Also:
-
Field Summary
Fields inherited from class eu.europa.esig.dss.xades.reference.AbstractTransform
algorithm, namespace -
Constructor Summary
ConstructorsModifierConstructorDescriptionDefault constructor with ds: xmldsig namespaceprotectedSPDocDigestAsInSpecificationTransform(DSSNamespace xmlDSigNamespace) Constructor with a custom namespace -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Performs transformation on the givennodeand returns resulting bytesMethods inherited from class eu.europa.esig.dss.xades.reference.AbstractTransform
createTransform, equals, getAlgorithm, hashCode, setNamespace, toString
-
Constructor Details
-
SPDocDigestAsInSpecificationTransform
public SPDocDigestAsInSpecificationTransform()Default constructor with ds: xmldsig namespace -
SPDocDigestAsInSpecificationTransform
Constructor with a custom namespace- Parameters:
xmlDSigNamespace-DSSNamespace
-
-
Method Details
-
getBytesAfterTransformation
Description copied from interface:DSSTransformPerforms transformation on the givennodeand returns resulting bytes- Parameters:
node-Nodeto perform transformation on- Returns:
- byte array
-