Save This Page
Home » openjdk-7 » java » security » spec » [javadoc | source]
java.security.spec
public class: RSAPublicKeySpec [javadoc | source]
java.lang.Object
   java.security.spec.RSAPublicKeySpec

All Implemented Interfaces:
    KeySpec

This class specifies an RSA public key.
Constructor:
 public RSAPublicKeySpec(BigInteger modulus,
    BigInteger publicExponent) 
    Creates a new RSAPublicKeySpec.
    Parameters:
    modulus - the modulus
    publicExponent - the public exponent
Method from java.security.spec.RSAPublicKeySpec Summary:
getModulus,   getPublicExponent
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.security.spec.RSAPublicKeySpec Detail:
 public BigInteger getModulus() 
    Returns the modulus.
 public BigInteger getPublicExponent() 
    Returns the public exponent.