net.handle.security
Class RSAPublicKeyImpl
java.lang.Object
net.handle.security.RSAPublicKeyImpl
- All Implemented Interfaces:
- java.io.Serializable, java.security.interfaces.RSAKey, java.security.interfaces.RSAPublicKey, java.security.Key, java.security.PublicKey
public class RSAPublicKeyImpl
- extends java.lang.Object
- implements java.security.interfaces.RSAPublicKey
- See Also:
- Serialized Form
Fields inherited from interface java.security.interfaces.RSAPublicKey |
serialVersionUID |
Constructor Summary |
RSAPublicKeyImpl(java.math.BigInteger m,
java.math.BigInteger exp)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RSAPublicKeyImpl
public RSAPublicKeyImpl(java.math.BigInteger m,
java.math.BigInteger exp)
throws java.lang.NumberFormatException
- Throws:
java.lang.NumberFormatException
getModulus
public java.math.BigInteger getModulus()
- Specified by:
getModulus
in interface java.security.interfaces.RSAKey
getPublicExponent
public java.math.BigInteger getPublicExponent()
- Specified by:
getPublicExponent
in interface java.security.interfaces.RSAPublicKey
getAlgorithm
public java.lang.String getAlgorithm()
- Specified by:
getAlgorithm
in interface java.security.Key
getFormat
public java.lang.String getFormat()
- Specified by:
getFormat
in interface java.security.Key
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interface java.security.Key