Class RSAPublicKey

  • All Implemented Interfaces:
    JSONable

    public class RSAPublicKey
    extends PublicKey
    The Public Key for the RSA Algorithm
    Version:
    July 31, 2016
    Author:
    Javier Rojas Blum
    • Constructor Detail

      • RSAPublicKey

        public RSAPublicKey​(String modulus,
                            String publicExponent)
    • Method Detail

      • setModulus

        public void setModulus​(BigInteger modulus)
      • getPublicExponent

        public BigInteger getPublicExponent()
      • setPublicExponent

        public void setPublicExponent​(BigInteger publicExponent)
      • toJSONObject

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