Class DSAUtils


  • @Deprecated
    public class DSAUtils
    extends java.lang.Object
    Deprecated.
    • Constructor Summary

      Constructors 
      Constructor Description
      DSAUtils()
      Deprecated.
       
    • Method Summary

      All Methods Static Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      static byte[] convertASN1toXMLDSIG​(byte[] asn1Bytes)
      Deprecated.
      Converts an ASN.1 DSA value to a XML Signature DSA Value.
      static byte[] convertXMLDSIGtoASN1​(byte[] xmldsigBytes)
      Deprecated.
      Converts a XML Signature DSA Value to an ASN.1 DSA value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DSAUtils

        public DSAUtils()
        Deprecated.
    • Method Detail

      • convertASN1toXMLDSIG

        public static byte[] convertASN1toXMLDSIG​(byte[] asn1Bytes)
                                           throws java.io.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:
        java.io.IOException
        See Also:
        6.4.1 DSA
      • convertXMLDSIGtoASN1

        public static byte[] convertXMLDSIGtoASN1​(byte[] xmldsigBytes)
                                           throws java.io.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:
        java.io.IOException
        See Also:
        6.4.1 DSA