예제 #1
0
 internal RecordStream(TlsProtocolHandler handler, Stream inStr, Stream outStr)
 {
     _handler = handler;
     _inStr = inStr;
     _outStr = outStr;
     _hash = new CombinedHash();
     _readCompression = new TlsNullCompression();
     _writeCompression = _readCompression;
     _readCipher = new TlsNullCipher();
     _writeCipher = _readCipher;
 }
예제 #2
0
 internal RecordStream(TlsProtocolHandler handler, Stream inStr, Stream outStr)
 {
     _handler          = handler;
     _inStr            = inStr;
     _outStr           = outStr;
     _hash             = new CombinedHash();
     _readCompression  = new TlsNullCompression();
     _writeCompression = _readCompression;
     _readCipher       = new TlsNullCipher();
     _writeCipher      = _readCipher;
 }
예제 #3
0
 internal void ServerClientSpecReceived()
 {
     _readCompression = _writeCompression;
     _readCipher = _writeCipher;
 }
예제 #4
0
 internal void ClientCipherSpecDecided(ITlsCompression tlsCompression, TlsCipher tlsCipher)
 {
     _writeCompression = tlsCompression;
     _writeCipher = tlsCipher;
 }
예제 #5
0
 internal void ServerClientSpecReceived()
 {
     _readCompression = _writeCompression;
     _readCipher      = _writeCipher;
 }
예제 #6
0
 internal void ClientCipherSpecDecided(ITlsCompression tlsCompression, TlsCipher tlsCipher)
 {
     _writeCompression = tlsCompression;
     _writeCipher      = tlsCipher;
 }