Class DSAUtils
- java.lang.Object
-
- org.apache.xml.security.stax.impl.algorithms.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.
-
-
-
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
-
-