Contents | Package | Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS

Class javax.crypto.spec.RSAPublicKeySpec

java.lang.Object
    |
    +----javax.crypto.spec.RSAPublicKeySpec

public class RSAPublicKeySpec
extends java.lang.Object
implements java.security.spec.KeySpec
This class specifies an RSA public key.

See Also:
java.security.Key, java.security.KeyFactory, java.security.spec.KeySpec, java.security.spec.X509EncodedKeySpec, RSAPrivateKeySpec, RSAPrivateKeyCrtSpec

Constructor Summary
 RSAPublicKeySpec(java.math.BigInteger modulus, java.math.BigInteger publicExponent)
 
 

Method Summary
java.math.BigInteger  getModulus()
Returns the modulus.
java.math.BigInteger  getPublicExponent()
Returns the public exponent.
 
Methods inherited from class java.lang.Object
 clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RSAPublicKeySpec

public RSAPublicKeySpec(java.math.BigInteger modulus,
                        java.math.BigInteger publicExponent)
Method Detail

getModulus

public java.math.BigInteger getModulus()
Returns the modulus.
Returns:
the modulus

getPublicExponent

public java.math.BigInteger getPublicExponent()
Returns the public exponent.
Returns:
the public exponent

Contents | Package | Class | Tree | Deprecated | Index | Help
PREV | NEXT SHOW LISTS | HIDE LISTS