All Packages Class Hierarchy This Package Previous Next Index
Class javax.crypto.spec.RSAPublicKeySpec
java.lang.Object
|
+----javax.crypto.spec.RSAPublicKeySpec
- public class RSAPublicKeySpec
- extends Object
- implements KeySpec
This class specifies an RSA public key.
- See Also:
- Key, KeyFactory, KeySpec, X509EncodedKeySpec, RSAPrivateKeySpec, RSAPrivateKeyCrtSpec
-
RSAPublicKeySpec(BigInteger, BigInteger)
-
-
getModulus()
- Returns the modulus.
-
getPublicExponent()
- Returns the public exponent.
RSAPublicKeySpec
public RSAPublicKeySpec(BigInteger modulus,
BigInteger publicExponent)
getModulus
public BigInteger getModulus()
- Returns the modulus.
- Returns:
- the modulus
getPublicExponent
public BigInteger getPublicExponent()
- Returns the public exponent.
- Returns:
- the public exponent
All Packages Class Hierarchy This Package Previous Next Index