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 BigIntegergetModulus()BigIntegergetPublicExponent()voidsetModulus(BigInteger modulus)voidsetPublicExponent(BigInteger publicExponent)org.json.JSONObjecttoJSONObject()StringtoString()-
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
-
-