Class Base64Transform

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

public class Base64Transform extends AbstractTransform
Transforms a reference content to its base64 representation NOTE: Not compatible with: - other transformations; - isEmbed(true) parameter; - Manifest signature; - Enveloped signatures.
See Also:
  • Constructor Details

    • Base64Transform

      public Base64Transform()
      Default constructor
    • Base64Transform

      public Base64Transform(DSSNamespace xmlDSigNamespace)
      Constructor with namespace
      Parameters:
      xmlDSigNamespace - DSSNamespace
  • Method Details

    • getBytesAfterTransformation

      public byte[] getBytesAfterTransformation(Node node)
      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