Class DSSSignatureUtils

java.lang.Object
eu.europa.esig.dss.xades.signature.DSSSignatureUtils

public final class DSSSignatureUtils
extends Object
This is the utility class to manipulate different signature types.
  • Method Details

    • convertToXmlDSig

      public static byte[] convertToXmlDSig​(EncryptionAlgorithm algorithm, byte[] signatureValue)
      Converts the binary signature value to the Xml DSig format in function of used algorithm
      Parameters:
      algorithm - Signature algorithm used to create the signatureValue
      signatureValue - the original signature value
      Returns:
      the converted signature value