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

Constructor Index

 o RSAPublicKeySpec(BigInteger, BigInteger)

Method Index

 o getModulus()
Returns the modulus.
 o getPublicExponent()
Returns the public exponent.

Constructors

 o RSAPublicKeySpec
 public RSAPublicKeySpec(BigInteger modulus,
                         BigInteger publicExponent)

Methods

 o getModulus
 public BigInteger getModulus()
Returns the modulus.

Returns:
the modulus
 o getPublicExponent
 public BigInteger getPublicExponent()
Returns the public exponent.

Returns:
the public exponent

All Packages  Class Hierarchy  This Package  Previous  Next  Index