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.BigIntegergetModulus()java.math.BigIntegergetPublicExponent()voidsetModulus(java.math.BigInteger modulus)voidsetPublicExponent(java.math.BigInteger publicExponent)org.json.JSONObjecttoJSONObject()java.lang.StringtoString()-
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:
toStringin classjava.lang.Object
-
-