Class ECDSAPrivateKey

  • All Implemented Interfaces:
    JSONable

    public class ECDSAPrivateKey
    extends PrivateKey
    The Private Key for the Elliptic Curve Digital Signature Algorithm (ECDSA)
    Version:
    July 31, 2016
    Author:
    Javier Rojas Blum
    • Constructor Detail

      • ECDSAPrivateKey

        public ECDSAPrivateKey​(SignatureAlgorithm signatureAlgorithm,
                               java.math.BigInteger d)
      • ECDSAPrivateKey

        public ECDSAPrivateKey​(java.lang.String d)
    • Method Detail

      • getD

        public java.math.BigInteger getD()
      • setD

        public void setD​(java.math.BigInteger d)
      • toJSONObject

        public org.json.JSONObject toJSONObject()
                                         throws org.json.JSONException
        Throws:
        org.json.JSONException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object