Class ECDSAPublicKey

  • All Implemented Interfaces:
    JSONable

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

      • ECDSAPublicKey

        public ECDSAPublicKey​(SignatureAlgorithm signatureAlgorithm,
                              java.math.BigInteger x,
                              java.math.BigInteger y)
      • ECDSAPublicKey

        public ECDSAPublicKey​(SignatureAlgorithm signatureAlgorithm,
                              java.lang.String x,
                              java.lang.String y)
    • Method Detail

      • getX

        public java.math.BigInteger getX()
      • setX

        public void setX​(java.math.BigInteger x)
      • getY

        public java.math.BigInteger getY()
      • setY

        public void setY​(java.math.BigInteger y)
      • 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