java.lang.Object
org.apache.xml.security.stax.impl.algorithms.DSAUtils

@Deprecated public class DSAUtils extends Object
Deprecated.
  • Constructor Details

    • DSAUtils

      public DSAUtils()
      Deprecated.
  • Method Details

    • 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:
    • 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: