java.security.spec
Class RSAPublicKeySpec

java.lang.Object
  extended by java.security.spec.RSAPublicKeySpec
All Implemented Interfaces:
KeySpec

public class RSAPublicKeySpec
extends Object
implements KeySpec

Disabled: no SafeJ information.

This class specifies an RSA public key.

See Also:
Key, KeyFactory, KeySpec, X509EncodedKeySpec, RSAPrivateKeySpec, RSAPrivateCrtKeySpec

Constructor Summary
RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent)
          Creates a new RSAPublicKeySpec.
 
Method Summary
 BigInteger getModulus()
          Returns the modulus.
 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(BigInteger modulus,
                        BigInteger publicExponent)
Class is disabled.

Creates a new RSAPublicKeySpec.

Parameters:
modulus - the modulus
publicExponent - the public exponent
Method Detail

getModulus

public BigInteger getModulus()
Class is disabled.

Returns the modulus.

Returns:
the modulus

getPublicExponent

public BigInteger getPublicExponent()
Class is disabled.

Returns the public exponent.

Returns:
the public exponent