Class RSAPrivateKey

java.lang.Object
io.jans.as.model.crypto.PrivateKey
io.jans.as.model.crypto.signature.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
  • Constructor Details

  • Method Details

    • getModulus

      public BigInteger getModulus()
    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object