com.mindbright.ssh2
Class SSH2Transport.TranceiverContext
java.lang.Object
com.mindbright.ssh2.SSH2Transport.TranceiverContext
- Enclosing class:
- SSH2Transport
public static class SSH2Transport.TranceiverContext
- extends java.lang.Object
Context for transport tranceiver/receiver. Holds the encryption
and compression states.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mac
protected javax.crypto.Mac mac
maclength
protected int maclength
cipher
protected javax.crypto.Cipher cipher
discard
protected int discard
compressor
protected SSH2Compressor compressor
in
protected NonBlockingInput in
SSH2Transport.TranceiverContext
public SSH2Transport.TranceiverContext(NonBlockingInput in)
getCipherBlockSize
public int getCipherBlockSize()
getMacLength
public int getMacLength()
init
public void init(byte[] cKey,
byte[] iv,
byte[] mKey,
int compLevel,
boolean transmitter)
throws SSH2Exception
- Throws:
SSH2Exception
authSucceeded
public void authSucceeded()
- Called when the authentication step has finished