public SecurePipelineListener(PipelineFactory factory, CertificateList certificateList) { _factory = factory; _serverNameProvider = new ServerNameProvider(); _keyscheduleProvider = new KeyScheduleProvider(); _cryptoProvider = new CryptoProvider(); _resumptionProvider = new ResumptionProvider(4, _cryptoProvider); _certificateList = certificateList; }
public SecurePipeListener(PipeFactory factory, CertificateList certificateList, ILoggerFactory logFactory) { _logFactory = logFactory; _logger = logFactory?.CreateLogger <SecurePipeListener>(); _connectionLogger = logFactory?.CreateLogger <SecurePipelineConnection>(); _factory = factory; _serverNameProvider = new ServerNameProvider(); _keyscheduleProvider = new KeyScheduleProvider(); _cryptoProvider = new CryptoProvider(certificateList); _resumptionProvider = new ResumptionProvider(4, _cryptoProvider); _certificateList = certificateList; }