Class RSAPublicKey
- java.lang.Object
-
- io.jans.as.model.crypto.PublicKey
-
- io.jans.as.model.crypto.signature.RSAPublicKey
-
-
Constructor Summary
Constructors Constructor Description RSAPublicKey(String modulus, String publicExponent)
RSAPublicKey(BigInteger modulus, BigInteger publicExponent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigInteger
getModulus()
BigInteger
getPublicExponent()
void
setModulus(BigInteger modulus)
void
setPublicExponent(BigInteger publicExponent)
org.json.JSONObject
toJSONObject()
String
toString()
-
Methods inherited from class io.jans.as.model.crypto.PublicKey
getCertificate, getKeyId, getSignatureAlgorithm, setCertificate, setKeyId, setSignatureAlgorithm
-
-
-
-
Constructor Detail
-
RSAPublicKey
public RSAPublicKey(BigInteger modulus, BigInteger publicExponent)
-
-
Method Detail
-
getModulus
public BigInteger getModulus()
-
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
-
-