| java.lang.Object | ||
| ↳ | sun.security.x509.X509Key | |
| ↳ | sun.security.rsa.RSAPublicKeyImpl | |
Key implementation for RSA public keys. Note: RSA keys must be at least 512 bits long
| 
  [Expand]
   Inherited Constants  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   From interface
java.security.Key
 | |||||||||||
   From interface
java.security.PublicKey
 | |||||||||||
   From interface
java.security.interfaces.RSAPublicKey
 | |||||||||||
| 
  [Expand]
   Inherited Fields  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   From class
sun.security.x509.X509Key
 | |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Construct a key from its components. 
  
   | |||||||||||
Construct a key from its encoding. 
  
   | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Returns the algorithm to be used with this key. 
  
   | |||||||||||
Returns the modulus. 
  
   | |||||||||||
Returns the public exponent. 
  
   | |||||||||||
Returns a string representation of the object. 
  
   | |||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Parse the key. 
  
   | |||||||||||
| 
  [Expand]
   Inherited Methods  | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
   
From class
  sun.security.x509.X509Key
 | |||||||||||
   
From class
  java.lang.Object
 | |||||||||||
   
From interface
  java.security.Key
 | |||||||||||
   
From interface
  java.security.interfaces.RSAKey
 | |||||||||||
   
From interface
  java.security.interfaces.RSAPublicKey
 | |||||||||||
Construct a key from its components. Used by the RSAKeyFactory and the RSAKeyPairGenerator.
| InvalidKeyException | 
|---|
Construct a key from its encoding. Used by RSAKeyFactory.
| InvalidKeyException | 
|---|
Returns the algorithm to be used with this key.
Returns a string representation of the object. In general, the
 toString method returns a string that
 "textually represents" this object. The result should
 be a concise but informative representation that is easy for a
 person to read.
 It is recommended that all subclasses override this method.
 
 The toString method for class Object
 returns a string consisting of the name of the class of which the
 object is an instance, the at-sign character `@', and
 the unsigned hexadecimal representation of the hash code of the
 object. In other words, this method returns a string equal to the
 value of:
 
getClass().getName() + '@' + Integer.toHexString(hashCode())