| java.lang.Object com.jcraft.jsch.KeyPair
All known Subclasses: com.jcraft.jsch.KeyPairRSA, com.jcraft.jsch.KeyPairDSA,
KeyPair | abstract public class KeyPair (Code) | | |
Method Summary | |
int | countLength(int len) | public boolean | decrypt(String _passphrase) | public boolean | decrypt(byte[] _passphrase) | public void | dispose() | public void | finalize() | synchronized byte[] | genKey(byte[] passphrase, byte[] iv) | public static KeyPair | genKeyPair(JSch jsch, int type) | public static KeyPair | genKeyPair(JSch jsch, int type, int key_size) | abstract void | generate(int key_size) | abstract byte[] | getBegin() | abstract byte[] | getEnd() | public String | getFingerPrint() | abstract int | getKeySize() | abstract public int | getKeyType() | abstract byte[] | getKeyTypeName() | abstract byte[] | getPrivateKey() | public byte[] | getPublicKeyBlob() | public boolean | isEncrypted() | public static KeyPair | load(JSch jsch, String prvkey) | public static KeyPair | load(JSch jsch, String prvkey, String pubkey) | abstract boolean | parse(byte[] data) | public void | setPassphrase(String passphrase) | public void | setPassphrase(byte[] passphrase) | int | writeINTEGER(byte[] buf, int index, byte[] data) | int | writeLength(byte[] data, int index, int len) | public void | writePrivateKey(java.io.OutputStream out) | public void | writePrivateKey(String name) | public void | writePublicKey(java.io.OutputStream out, String comment) | public void | writePublicKey(String name, String comment) | public void | writeSECSHPublicKey(java.io.OutputStream out, String comment) | public void | writeSECSHPublicKey(String name, String comment) | int | writeSEQUENCE(byte[] buf, int index, int len) |
DSA | final public static int DSA(Code) | | |
ERROR | final public static int ERROR(Code) | | |
RSA | final public static int RSA(Code) | | |
UNKNOWN | final public static int UNKNOWN(Code) | | |
VENDOR_FSECURE | final static int VENDOR_FSECURE(Code) | | |
VENDOR_OPENSSH | final static int VENDOR_OPENSSH(Code) | | |
header | static byte[][] header(Code) | | |
countLength | int countLength(int len)(Code) | | |
decrypt | public boolean decrypt(byte[] _passphrase)(Code) | | |
dispose | public void dispose()(Code) | | |
finalize | public void finalize()(Code) | | |
genKey | synchronized byte[] genKey(byte[] passphrase, byte[] iv)(Code) | | |
getBegin | abstract byte[] getBegin()(Code) | | |
getEnd | abstract byte[] getEnd()(Code) | | |
getKeySize | abstract int getKeySize()(Code) | | |
getKeyType | abstract public int getKeyType()(Code) | | |
getKeyTypeName | abstract byte[] getKeyTypeName()(Code) | | |
getPrivateKey | abstract byte[] getPrivateKey()(Code) | | |
getPublicKeyBlob | public byte[] getPublicKeyBlob()(Code) | | |
isEncrypted | public boolean isEncrypted()(Code) | | |
parse | abstract boolean parse(byte[] data)(Code) | | |
setPassphrase | public void setPassphrase(String passphrase)(Code) | | |
setPassphrase | public void setPassphrase(byte[] passphrase)(Code) | | |
writeINTEGER | int writeINTEGER(byte[] buf, int index, byte[] data)(Code) | | |
writeLength | int writeLength(byte[] data, int index, int len)(Code) | | |
writeSEQUENCE | int writeSEQUENCE(byte[] buf, int index, int len)(Code) | | |
|
|