Interface DSSTransform

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractTransform, Base64Transform, CanonicalizationTransform, ComplexTransform, EnvelopedSignatureTransform, SPDocDigestAsInSpecificationTransform, XPath2FilterEnvelopedSignatureTransform, XPath2FilterTransform, XPathEnvelopedSignatureTransform, XPathTransform, XsltTransform

public interface DSSTransform extends Serializable
Defines a transform used for a reference transformations
  • Method Details

    • getAlgorithm

      String getAlgorithm()
      Returns a particular transformation algorithm name
      Returns:
      String algorithm name of transformation
    • setNamespace

      void setNamespace(DSSNamespace namespace)
      Specifies a namespace for the transformation elements
      Parameters:
      namespace - DSSNamespace uri
    • getBytesAfterTransformation

      byte[] getBytesAfterTransformation(Node node)
      Performs transformation on the given node and returns resulting bytes
      Parameters:
      node - Node to perform transformation on
      Returns:
      byte array
    • createTransform

      Element createTransform(Document document, Element parentNode)
      Creates a Transform element DOM and appends it to the parentNode
      Parameters:
      document - Document to add transform for
      parentNode - Element to append transform to
      Returns:
      created transform Element