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.
Method Summary |
int |
getCipherBlockSize()
|
void |
init(byte[] cKey,
byte[] iv,
byte[] mKey,
int compLevel,
boolean transmitter)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mac
protected Mac mac
cipher
protected Cipher cipher
compressor
protected SSH2Compressor compressor
SSH2Transport.TranceiverContext
public SSH2Transport.TranceiverContext()
getCipherBlockSize
public int getCipherBlockSize()
init
public void init(byte[] cKey,
byte[] iv,
byte[] mKey,
int compLevel,
boolean transmitter)
throws SSH2Exception
- Throws:
SSH2Exception