Class RSAPublicKey
- java.lang.Object
-
- io.jans.as.model.crypto.PublicKey
-
- io.jans.as.model.crypto.signature.RSAPublicKey
-
-
Constructor Summary
Constructors Constructor Description RSAPublicKey(java.lang.String modulus, java.lang.String publicExponent)
RSAPublicKey(java.math.BigInteger modulus, java.math.BigInteger publicExponent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigInteger
getModulus()
java.math.BigInteger
getPublicExponent()
void
setModulus(java.math.BigInteger modulus)
void
setPublicExponent(java.math.BigInteger publicExponent)
org.json.JSONObject
toJSONObject()
java.lang.String
toString()
-
Methods inherited from class io.jans.as.model.crypto.PublicKey
getCertificate, getKeyId, getSignatureAlgorithm, setCertificate, setKeyId, setSignatureAlgorithm
-
-
-
-
Method Detail
-
getModulus
public java.math.BigInteger getModulus()
-
setModulus
public void setModulus(java.math.BigInteger modulus)
-
getPublicExponent
public java.math.BigInteger getPublicExponent()
-
setPublicExponent
public void setPublicExponent(java.math.BigInteger publicExponent)
-
toJSONObject
public org.json.JSONObject toJSONObject() throws org.json.JSONException
- Throws:
org.json.JSONException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-