private void StartSession(IServerSession session) { var clientIv = _ivGenerator.GetNewIv(); var serverIv = _ivGenerator.GetNewIv(); var info = new ConfiguredHandshakeInfo(_serverConfiguration, clientIv, serverIv); var crypto = EndpointCrypto.Server(_ivFactory, clientIv, serverIv); session.Start(crypto, info); }
private void StartSession(IServerSession session) { var clientIv = this.ivGenerator.GetNewIv(); var serverIv = this.ivGenerator.GetNewIv(); var info = new ConfiguredHandshakeInfo(this.serverConfiguration, clientIv, serverIv); var crypto = EndpointCrypto.Server(this.ivFactory, clientIv, serverIv); session.Start(crypto, info); }