Class RSAPrivateKey

  • All Implemented Interfaces:
    JSONable

    public class RSAPrivateKey
    extends PrivateKey
    The Private Key for the RSA Algorithm
    Version:
    July 31, 2016
    Author:
    Javier Rojas Blum
    • Method Detail

      • setModulus

        public void setModulus​(BigInteger modulus)
      • getPrivateExponent

        public BigInteger getPrivateExponent()
      • setPrivateExponent

        public void setPrivateExponent​(BigInteger privateExponent)
      • toJSONObject

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