com.mindbright.ssh
Class SSHRSAKeyFile

java.lang.Object
  extended bycom.mindbright.ssh.SSHRSAKeyFile

public class SSHRSAKeyFile
extends java.lang.Object


Constructor Summary
SSHRSAKeyFile(java.lang.String name)
           
 
Method Summary
static void createKeyFile(RSAPrivateCrtKey privKey, java.lang.String passwd, java.lang.String name, java.lang.String comment)
           
 java.lang.String getComment()
           
 RSAPrivateCrtKey getPrivate(java.lang.String passwd)
           
 RSAPublicKey getPublic()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SSHRSAKeyFile

public SSHRSAKeyFile(java.lang.String name)
              throws java.io.IOException
Method Detail

createKeyFile

public static void createKeyFile(RSAPrivateCrtKey privKey,
                                 java.lang.String passwd,
                                 java.lang.String name,
                                 java.lang.String comment)
                          throws java.io.IOException
Throws:
java.io.IOException

getComment

public java.lang.String getComment()

getPublic

public RSAPublicKey getPublic()

getPrivate

public RSAPrivateCrtKey getPrivate(java.lang.String passwd)