Class DSSSignatureUtils


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

      • 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