Class DSAUtils

    • Constructor Detail

      • DSAUtils

        public DSAUtils()
        Deprecated.
    • Method Detail

      • convertASN1toXMLDSIG

        public static byte[] convertASN1toXMLDSIG​(byte[] asn1Bytes)
                                           throws IOException
        Deprecated.
        Converts an ASN.1 DSA value to a XML Signature DSA Value.

        The JAVA JCE DSA Signature algorithm creates ASN.1 encoded (r, s) value pairs; the XML Signature requires the core BigInteger values.
        Parameters:
        asn1Bytes -
        Throws:
        IOException
        See Also:
        6.4.1 DSA
      • convertXMLDSIGtoASN1

        public static byte[] convertXMLDSIGtoASN1​(byte[] xmldsigBytes)
                                           throws IOException
        Deprecated.
        Converts a XML Signature DSA Value to an ASN.1 DSA value.

        The JAVA JCE DSA Signature algorithm creates ASN.1 encoded (r, s) value pairs; the XML Signature requires the core BigInteger values.
        Parameters:
        xmldsigBytes -
        Throws:
        IOException
        See Also:
        6.4.1 DSA