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:
- com.mindbright.jca.security.Key, com.mindbright.jca.security.PublicKey, com.mindbright.jca.security.interfaces.RSAKey, com.mindbright.jca.security.interfaces.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 |
| Methods inherited from interface com.mindbright.jca.security.Key |
getAlgorithm, getEncoded, getFormat |
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
java.util.NoSuchElementException
getOpts
public java.lang.String getOpts()
getUser
public java.lang.String getUser()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
toFile
public void toFile(java.lang.String fileName)
throws java.io.IOException
java.io.IOException