com.mindbright.security.publickey
Class RSAKey

java.lang.Object
  |
  +--com.mindbright.security.publickey.RSAKey
All Implemented Interfaces:
com.mindbright.jca.security.Key, com.mindbright.jca.security.interfaces.RSAKey, java.io.Serializable
Direct Known Subclasses:
RSAPrivateKey, RSAPublicKey

public abstract class RSAKey
extends java.lang.Object
implements com.mindbright.jca.security.interfaces.RSAKey, com.mindbright.jca.security.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 com.mindbright.jca.security.interfaces.RSAKey

getAlgorithm

public java.lang.String getAlgorithm()
Specified by:
getAlgorithm in interface com.mindbright.jca.security.Key

getEncoded

public byte[] getEncoded()
Specified by:
getEncoded in interface com.mindbright.jca.security.Key

getFormat

public java.lang.String getFormat()
Specified by:
getFormat in interface com.mindbright.jca.security.Key