public void SetUp()
 {
     _dnsClient           = A.Fake <IDnsClient>();
     _tlsRptRecordsParser = A.Fake <ITlsRptRecordsParser>();
     _config          = A.Fake <ITlsRptPollerConfig>();
     _evaluator       = A.Fake <ITlsRptRecordsEvaluator>();
     _tlsRptProcessor = new TlsRptProcessor(_dnsClient, _tlsRptRecordsParser, _evaluator, _config);
 }
コード例 #2
0
 public PollHandler(ITlsRptProcessor processor,
                    IMessageDispatcher dispatcher,
                    ITlsRptPollerConfig config,
                    ILogger <PollHandler> log)
 {
     _processor  = processor;
     _dispatcher = dispatcher;
     _config     = config;
     _log        = log;
 }
コード例 #3
0
 public TlsRptProcessor(IDnsClient dnsClient,
                        ITlsRptRecordsParser parser,
                        ITlsRptRecordsEvaluator evaluator,
                        ITlsRptPollerConfig config)
 {
     _dnsClient = dnsClient;
     _parser    = parser;
     _evaluator = evaluator;
     _config    = config;
 }
コード例 #4
0
 public LinuxDnsNameServerProvider(ILogger <LinuxDnsNameServerProvider> log, ITlsRptPollerConfig config)
 {
     _log    = log;
     _config = config;
 }