Class RSAPrivateKey
java.lang.Object
io.jans.as.model.crypto.PrivateKey
io.jans.as.model.crypto.signature.RSAPrivateKey
- All Implemented Interfaces:
JSONable
The Private Key for the RSA Algorithm
- Version:
- July 31, 2016
- Author:
- Javier Rojas Blum
-
Constructor Summary
ConstructorsConstructorDescriptionRSAPrivateKey
(SignatureAlgorithm signatureAlgorithm, String modulus, String privateExponent) RSAPrivateKey
(SignatureAlgorithm signatureAlgorithm, BigInteger modulus, BigInteger privateExponent) -
Method Summary
Modifier and TypeMethodDescriptionvoid
setModulus
(BigInteger modulus) void
setPrivateExponent
(BigInteger privateExponent) org.json.JSONObject
toString()
Methods inherited from class io.jans.as.model.crypto.PrivateKey
getKeyId, getSignatureAlgorithm, setKeyId, setSignatureAlgorithm
-
Constructor Details
-
RSAPrivateKey
public RSAPrivateKey(SignatureAlgorithm signatureAlgorithm, BigInteger modulus, BigInteger privateExponent) -
RSAPrivateKey
-
-
Method Details