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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
modulus
protected java.math.BigInteger modulus
RSAKey
protected RSAKey(java.math.BigInteger modulus)
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