com.mindbright.ssh2
public static class SSH2Transport.TransceiverContext extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected javax.crypto.Cipher |
cipher |
protected SSH2Compressor |
compressor |
protected int |
discard |
protected NonBlockingInput |
in |
protected javax.crypto.Mac |
mac |
protected int |
maclength |
Constructor and Description |
---|
SSH2Transport.TransceiverContext(NonBlockingInput in) |
Modifier and Type | Method and Description |
---|---|
void |
authSucceeded()
Called when the authentication step has finished
|
int |
getCipherBlockSize() |
int |
getMacLength() |
void |
init(byte[] cKey,
byte[] iv,
byte[] mKey,
int compLevel,
boolean transmitter) |
protected javax.crypto.Mac mac
protected int maclength
protected javax.crypto.Cipher cipher
protected int discard
protected SSH2Compressor compressor
protected NonBlockingInput in
public SSH2Transport.TransceiverContext(NonBlockingInput in)
public int getCipherBlockSize()
public int getMacLength()
public void init(byte[] cKey, byte[] iv, byte[] mKey, int compLevel, boolean transmitter) throws SSH2Exception
SSH2Exception
public void authSucceeded()