com.mindbright.ssh
Class SSHRSAPublicKeyString
java.lang.Object
com.mindbright.security.publickey.RSAKey
com.mindbright.security.publickey.RSAPublicKey
com.mindbright.ssh.SSHRSAPublicKeyString
- All Implemented Interfaces:
- Key, PublicKey, RSAKey, RSAPublicKey, java.io.Serializable
- public class SSHRSAPublicKeyString
- extends RSAPublicKey
- See Also:
- Serialized Form
Fields inherited from class com.mindbright.security.publickey.RSAKey |
modulus |
Constructor Summary |
SSHRSAPublicKeyString(java.lang.String opts,
java.lang.String user,
java.math.BigInteger e,
java.math.BigInteger n)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.mindbright.jca.security.interfaces.RSAKey |
getModulus |
SSHRSAPublicKeyString
public SSHRSAPublicKeyString(java.lang.String opts,
java.lang.String user,
java.math.BigInteger e,
java.math.BigInteger n)
createKey
public static SSHRSAPublicKeyString createKey(java.lang.String opts,
java.lang.String pubKey)
throws java.util.NoSuchElementException
- Throws:
java.util.NoSuchElementException
getOpts
public java.lang.String getOpts()
getUser
public java.lang.String getUser()
toString
public java.lang.String toString()
toFile
public void toFile(java.lang.String fileName)
throws java.io.IOException
- Throws:
java.io.IOException