Class ECDSAUtils
java.lang.Object
org.apache.xml.security.stax.impl.algorithms.ECDSAUtils
Deprecated.
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
convertASN1toXMLDSIG
(byte[] asn1Bytes) Deprecated.Converts an ASN.1 ECDSA value to a XML Signature ECDSA Value.static byte[]
convertXMLDSIGtoASN1
(byte[] xmldsigBytes) Deprecated.Converts a XML Signature ECDSA Value to an ASN.1 DSA value.static ECPoint
decodePoint
(byte[] encodedBytes, EllipticCurve ellipticCurve) Deprecated.static byte[]
encodePoint
(ECPoint ecPoint, EllipticCurve ellipticCurve) Deprecated.static ECDSAUtils.ECCurveDefinition
Deprecated.static String
getOIDFromPublicKey
(ECPublicKey ecPublicKey) Deprecated.static byte[]
stripLeadingZeros
(byte[] bytes) Deprecated.
-
Constructor Details
-
ECDSAUtils
private ECDSAUtils()Deprecated.
-
-
Method Details
-
convertASN1toXMLDSIG
Deprecated.Converts an ASN.1 ECDSA value to a XML Signature ECDSA Value. The JAVA JCE ECDSA Signature algorithm creates ASN.1 encoded (r, s) value pairs; the XML Signature requires the core BigInteger values.- Parameters:
asn1Bytes
-- Returns:
- the decode bytes
- Throws:
IOException
- See Also:
-
convertXMLDSIGtoASN1
Deprecated.Converts a XML Signature ECDSA Value to an ASN.1 DSA value. The JAVA JCE ECDSA Signature algorithm creates ASN.1 encoded (r, s) value pairs; the XML Signature requires the core BigInteger values.- Parameters:
xmldsigBytes
-- Returns:
- the encoded ASN.1 bytes
- Throws:
IOException
- See Also:
-
getOIDFromPublicKey
Deprecated. -
getECCurveDefinition
Deprecated. -
encodePoint
Deprecated. -
decodePoint
Deprecated. -
stripLeadingZeros
public static byte[] stripLeadingZeros(byte[] bytes) Deprecated.
-