Class SPDocDigestAsInSpecificationTransform

java.lang.Object
eu.europa.esig.dss.xades.reference.AbstractTransform
eu.europa.esig.dss.xades.reference.SPDocDigestAsInSpecificationTransform
All Implemented Interfaces:
DSSTransform, Serializable

public class SPDocDigestAsInSpecificationTransform extends AbstractTransform
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:
  • Constructor Details

    • SPDocDigestAsInSpecificationTransform

      public SPDocDigestAsInSpecificationTransform()
      Default constructor with ds: xmldsig namespace
    • SPDocDigestAsInSpecificationTransform

      protected SPDocDigestAsInSpecificationTransform(eu.europa.esig.dss.xml.common.definition.DSSNamespace xmlDSigNamespace)
      Constructor with a custom namespace
      Parameters:
      xmlDSigNamespace - DSSNamespace
  • Method Details

    • getBytesAfterTransformation

      @Deprecated public byte[] getBytesAfterTransformation(Node node)
      Deprecated.
      Description copied from interface: DSSTransform
      Performs transformation on the given node and returns resulting bytes
      Parameters:
      node - Node to perform transformation on
      Returns:
      byte array
    • performTransform

      public DSSTransformOutput performTransform(DSSTransformOutput transformOutput)
      Description copied from interface: DSSTransform
      Executes a transform on the provided DSSTransformOutput
      Parameters:
      transformOutput - DSSTransformOutput
      Returns:
      DSSTransformOutput after applying the transform