java.security.spec
public class RSAPublicKeySpec extends Object implements KeySpec
Since: JDK 1.2
Constructor Summary | |
---|---|
RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent)
Constructs a new RSAPublicKeySpec with the specified
modulus and publicExponent. |
Method Summary | |
---|---|
BigInteger | getModulus()
Gets the RSA modulus. |
BigInteger | getPublicExponent()
Gets the RSA public exponent. |
Parameters: modulus the RSA modulus publicExponent the public key exponent
Returns: the RSA modulus
Returns: the RSA public exponent