java.security.spec
Class RSAPublicKeySpec
java.lang.Object
|
+--java.security.spec.RSAPublicKeySpec
All Implemented Interfaces:
KeySpec
RSA Public Key class Specification. Used to maintain the RSA
Public Keys.
Since:Author:RSAPublicKeySpec
public RSAPublicKeySpec(java.math.BigInteger modulus, java.math.BigInteger publicExponent)
Constructs a new RSAPublicKeySpec with the specified
modulus and publicExponent.
Parameters:
getModulus
public BigInteger getModulus()
Gets the RSA modulus.
Returns:
getPublicExponent
public BigInteger getPublicExponent()
Gets the RSA public exponent.
Returns: