com.ibm.security12.java.security.spec
Class RSAPublicKeySpec

java.lang.Object
  |
  +--com.ibm.security12.java.security.spec.RSAPublicKeySpec

public class RSAPublicKeySpec
extends Object
implements KeySpec

This class specifies an RSA public key.

Version:
1.3, 98/12/01
Author:
Jan Luehe
See Also:
Key, java.security.KeyFactory, KeySpec, X509EncodedKeySpec, RSAPrivateKeySpec, RSAPrivateCrtKeySpec

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