Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

mindbright.ssh
Class SSHRSAKeyFile  view SSHRSAKeyFile download SSHRSAKeyFile.java

java.lang.Object
  extended bymindbright.ssh.SSHRSAKeyFile

public class SSHRSAKeyFile
extends java.lang.Object


Field Summary
(package private)  int cipherType
           
(package private)  byte[] encrypted
           
(package private)  java.lang.String fileComment
           
(package private) static java.lang.String privFileId
           
(package private)  mindbright.security.RSAPublicKey pubKey
           
 
Constructor Summary
SSHRSAKeyFile(java.lang.String name)
           
 
Method Summary
static void createKeyFile(mindbright.security.KeyPair kp, java.lang.String passwd, java.lang.String name, java.lang.String comment)
           
 java.lang.String getComment()
           
 mindbright.security.RSAPrivateKey getPrivate(java.lang.String passwd)
           
 mindbright.security.RSAPublicKey getPublic()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cipherType

int cipherType

pubKey

mindbright.security.RSAPublicKey pubKey

fileComment

java.lang.String fileComment

encrypted

byte[] encrypted

privFileId

static final java.lang.String privFileId
See Also:
Constant Field Values
Constructor Detail

SSHRSAKeyFile

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

createKeyFile

public static void createKeyFile(mindbright.security.KeyPair kp,
                                 java.lang.String passwd,
                                 java.lang.String name,
                                 java.lang.String comment)
                          throws java.io.IOException

getComment

public java.lang.String getComment()

getPublic

public mindbright.security.RSAPublicKey getPublic()

getPrivate

public mindbright.security.RSAPrivateKey getPrivate(java.lang.String passwd)