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
ModifierConstructorDescriptionDefault constructor with ds: xmldsig namespaceprotected
SPDocDigestAsInSpecificationTransform
(DSSNamespace xmlDSigNamespace) Constructor with a custom namespace -
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Performs transformation on the givennode
and 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:DSSTransform
Performs transformation on the givennode
and returns resulting bytes- Parameters:
node
-Node
to perform transformation on- Returns:
- byte array
-