com.mindbright.ssh
Class SSHRSAKeyFile

java.lang.Object
  |
  +--com.mindbright.ssh.SSHRSAKeyFile

public class SSHRSAKeyFile
extends java.lang.Object


Constructor Summary
SSHRSAKeyFile(java.lang.String name)
           
 
Method Summary
static void createKeyFile(com.mindbright.jca.security.interfaces.RSAPrivateCrtKey privKey, java.lang.String passwd, java.lang.String name, java.lang.String comment)
           
 java.lang.String getComment()
           
 com.mindbright.jca.security.interfaces.RSAPrivateCrtKey getPrivate(java.lang.String passwd)
           
 com.mindbright.jca.security.interfaces.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(com.mindbright.jca.security.interfaces.RSAPrivateCrtKey privKey,
                                 java.lang.String passwd,
                                 java.lang.String name,
                                 java.lang.String comment)
                          throws java.io.IOException
java.io.IOException

getComment

public java.lang.String getComment()

getPublic

public com.mindbright.jca.security.interfaces.RSAPublicKey getPublic()

getPrivate

public com.mindbright.jca.security.interfaces.RSAPrivateCrtKey getPrivate(java.lang.String passwd)