com.jcraft.jsch
Class KeyPairRSA

java.lang.Object
  extended by com.jcraft.jsch.KeyPair
      extended by com.jcraft.jsch.KeyPairRSA

public class KeyPairRSA
extends KeyPair


Field Summary
 
Fields inherited from class com.jcraft.jsch.KeyPair
DSA, ERROR, header, jsch, RSA, UNKNOWN, vendor, VENDOR_FSECURE, VENDOR_OPENSSH
 
Constructor Summary
KeyPairRSA(JSch jsch)
           
 
Method Summary
 void dispose()
           
(package private)  void generate(int key_size)
           
(package private)  byte[] getBegin()
           
(package private)  byte[] getEnd()
           
 int getKeySize()
           
 int getKeyType()
           
(package private)  byte[] getKeyTypeName()
           
(package private)  byte[] getPrivateKey()
           
 byte[] getPublicKeyBlob()
           
(package private)  boolean parse(byte[] plain)
           
 
Methods inherited from class com.jcraft.jsch.KeyPair
countLength, decrypt, genKey, genKeyPair, genKeyPair, getFingerPrint, isEncrypted, load, load, setPassphrase, setPassphrase, writeINTEGER, writeLength, writePrivateKey, writePrivateKey, writePublicKey, writePublicKey, writeSECSHPublicKey, writeSECSHPublicKey, writeSEQUENCE
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeyPairRSA

public KeyPairRSA(JSch jsch)
Method Detail

generate

void generate(int key_size)
        throws JSchException
Specified by:
generate in class KeyPair
Throws:
JSchException

getBegin

byte[] getBegin()
Specified by:
getBegin in class KeyPair

getEnd

byte[] getEnd()
Specified by:
getEnd in class KeyPair

getPrivateKey

byte[] getPrivateKey()
Specified by:
getPrivateKey in class KeyPair

parse

boolean parse(byte[] plain)
Specified by:
parse in class KeyPair

getPublicKeyBlob

public byte[] getPublicKeyBlob()
Overrides:
getPublicKeyBlob in class KeyPair

getKeyTypeName

byte[] getKeyTypeName()
Specified by:
getKeyTypeName in class KeyPair

getKeyType

public int getKeyType()
Specified by:
getKeyType in class KeyPair

getKeySize

public int getKeySize()
Specified by:
getKeySize in class KeyPair

dispose

public void dispose()
Overrides:
dispose in class KeyPair


Copyright 2006 jcraft. All Rights Reserved.