AaltoTLS.RecordLayer.RecordHandler.RecordHandler C# (CSharp) Method

RecordHandler() public method

public RecordHandler ( ProtocolVersion version, bool isClient ) : System
version AaltoTLS.PluginInterface.ProtocolVersion
isClient bool
return System
        public RecordHandler(ProtocolVersion version, bool isClient)
        {
            _isClient = isClient;

            // Start with NULL cipher suite and key block
            _nextCipherSuite = new CipherSuite(version);
            _nextKeyBlock = new KeyBlock();

            // Initialize all the other variables
            ChangeLocalState();
            ChangeRemoteState();

            _inputEpoch = 0;
            _outputEpoch = 0;
        }