# Print output for @column tags ?>
public
class
RSAPrivateKeySpec
extends Object
implements
KeySpec
| java.lang.Object | |
| ↳ | java.security.spec.RSAPrivateKeySpec |
This class specifies an RSA private key.
Public constructors | |
|---|---|
RSAPrivateKeySpec(BigInteger modulus, BigInteger privateExponent)
Creates a new RSAPrivateKeySpec. |
|
Public methods | |
|---|---|
BigInteger
|
getModulus()
Returns the modulus. |
BigInteger
|
getPrivateExponent()
Returns the private exponent. |
Inherited methods | |
|---|---|
public RSAPrivateKeySpec (BigInteger modulus, BigInteger privateExponent)
Creates a new RSAPrivateKeySpec.
| Parameters | |
|---|---|
modulus |
BigInteger: the modulus |
privateExponent |
BigInteger: the private exponent |
public BigInteger getPrivateExponent ()
Returns the private exponent.
| Returns | |
|---|---|
BigInteger |
the private exponent |