com.mindbright.security.publickey
Class RSAKey

java.lang.Object
  extended bycom.mindbright.security.publickey.RSAKey
All Implemented Interfaces:
Key, RSAKey, java.io.Serializable
Direct Known Subclasses:
RSAPrivateKey, RSAPublicKey

public abstract class RSAKey
extends java.lang.Object
implements RSAKey, Key

See Also:
Serialized Form

Field Summary
protected  java.math.BigInteger modulus
           
 
Constructor Summary
protected RSAKey(java.math.BigInteger modulus)
           
 
Method Summary
 java.lang.String getAlgorithm()
           
 byte[] getEncoded()
           
 java.lang.String getFormat()
           
 java.math.BigInteger getModulus()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modulus

protected java.math.BigInteger modulus
Constructor Detail

RSAKey

protected RSAKey(java.math.BigInteger modulus)
Method Detail

getModulus

public java.math.BigInteger getModulus()
Specified by:
getModulus in interface RSAKey

getAlgorithm

public java.lang.String getAlgorithm()
Specified by:
getAlgorithm in interface Key

getEncoded

public byte[] getEncoded()
Specified by:
getEncoded in interface Key

getFormat

public java.lang.String getFormat()
Specified by:
getFormat in interface Key