Exemple #1
0
        public HandshakeWriter(
            Connection connection,

            VersionConfig versionConfig,
            HandshakeConfig handshakeConfig)
        {
            _connection = connection;

            _versionConfig   = versionConfig;
            _handshakeConfig = handshakeConfig;
        }
        public HandshakeReader(
            ICipherSuitesProvider cipherSuitesProvider,
            PublicKeyReaderRegistry publicKeyReaderRegistry,

            HandshakeConfig handshakeConfig,
            CipherSuiteConfig cipherSuiteConfig)
        {
            _cipherSuitesProvider    = cipherSuitesProvider;
            _publicKeyReaderRegistry = publicKeyReaderRegistry;

            _handshakeConfig   = handshakeConfig;
            _cipherSuiteConfig = cipherSuiteConfig;
        }
        public HandshakeFinishedService(
            ICipherSuitesProvider cipherSuitesProvider,

            CipherSuiteConfig cipherSuiteConfig,
            EndConfig endConfig,
            HandshakeConfig handshakeConfig,
            KeyConfig keyConfig)
        {
            _cipherSuitesProvider = cipherSuitesProvider;
            _cipherSuiteConfig    = cipherSuiteConfig;
            _endConfig            = endConfig;
            _handshakeConfig      = handshakeConfig;
            _keyConfig            = keyConfig;
        }