This class specifies an RSA public key.
Public Constructor Summary
RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent)
Creates a new RSAPublicKeySpec.
|
Public Method Summary
BigInteger |
getModulus()
Returns the modulus.
|
BigInteger |
getPublicExponent()
Returns the public exponent.
|
Inherited Method Summary
Public Constructors
public RSAPublicKeySpec (BigInteger modulus, BigInteger publicExponent)
Creates a new RSAPublicKeySpec.
Parameters
modulus | the modulus |
---|---|
publicExponent | the public exponent |
Public Methods
public BigInteger getModulus ()
Returns the modulus.
Returns
- the modulus
public BigInteger getPublicExponent ()
Returns the public exponent.
Returns
- the public exponent