Method | Description | |
---|---|---|
KeyPair ( |
||
decrypt ( String _passphrase ) : bool | ||
dispose ( ) : void | ||
genKeyPair ( |
||
genKeyPair ( |
||
getFingerPrint ( ) : String | ||
getKeySize ( ) : int | ||
getKeyType ( ) : int | ||
getPublicKeyBlob ( ) : byte[] | ||
isEncrypted ( ) : bool | ||
load ( |
||
load ( |
||
setPassphrase ( String passphrase ) : void | ||
setPassphrase ( byte passphrase ) : void | ||
writePrivateKey ( Stream outs ) : void | ||
writePrivateKey ( String name ) : void | ||
writePublicKey ( Stream outs, String comment ) : void | ||
writePublicKey ( String name, String comment ) : void | ||
writeSECSHPublicKey ( Stream outs, String comment ) : void | ||
writeSECSHPublicKey ( String name, String comment ) : void |
Method | Description | |
---|---|---|
Write ( Stream s, byte arr ) : void | ||
a2b ( byte c ) : byte | ||
b2a ( byte c ) : byte | ||
countLength ( int len ) : int | ||
decrypt ( byte data, byte passphrase, byte iv ) : byte[] | ||
encrypt ( byte plain, byte _iv ) : byte[] | ||
genCipher ( ) : Tamir.SharpSsh.jsch.Cipher | ||
genHash ( ) : Tamir.SharpSsh.jsch.HASH | ||
genKey ( byte passphrase, byte iv ) : byte[] | ||
genRandom ( ) : |
||
generate ( int key_size ) : void | ||
getBegin ( ) : byte[] | ||
getEnd ( ) : byte[] | ||
getKeyTypeName ( ) : byte[] | ||
getPrivateKey ( ) : byte[] | ||
parse ( byte data ) : bool | ||
writeINTEGER ( byte buf, int index, byte data ) : int | ||
writeLength ( byte data, int index, int len ) : int | ||
writeSEQUENCE ( byte buf, int index, int len ) : int |
public static genKeyPair ( |
||
jsch | ||
type | int | |
return |
public static genKeyPair ( |
||
jsch | ||
type | int | |
key_size | int | |
return |
public static load ( |
||
jsch | ||
prvkey | String | |
return |
public static load ( |
||
jsch | ||
prvkey | String | |
pubkey | String | |
return |
public setPassphrase ( String passphrase ) : void | ||
passphrase | String | |
return | void |
public setPassphrase ( byte passphrase ) : void | ||
passphrase | byte | |
return | void |
public writePrivateKey ( Stream outs ) : void | ||
outs | Stream | |
return | void |
public writePrivateKey ( String name ) : void | ||
name | String | |
return | void |
public writePublicKey ( Stream outs, String comment ) : void | ||
outs | Stream | |
comment | String | |
return | void |
public writePublicKey ( String name, String comment ) : void | ||
name | String | |
comment | String | |
return | void |
public writeSECSHPublicKey ( Stream outs, String comment ) : void | ||
outs | Stream | |
comment | String | |
return | void |
public writeSECSHPublicKey ( String name, String comment ) : void | ||
name | String | |
comment | String | |
return | void |