Exemple #1
0
        public void SetUp()
        {
            _rootCertificateLookUp = A.Fake <IRootCertificateLookUp>();

            _ensureRootCertificatePreprocessor = new EnsureRootCertificatePreprocessor(_rootCertificateLookUp,
                                                                                       A.Fake <ILogger <EnsureRootCertificatePreprocessor> >());
        }
Exemple #2
0
 public void SetUp()
 {
     _rootCertificateLookUp             = A.Fake <IRootCertificateLookUp>();
     _tlsRootCertificateShouldBeTrusted = new RootCertificateShouldBeTrusted(_rootCertificateLookUp, A.Fake <ILogger <RootCertificateShouldBeTrusted> >());
 }
 public EnsureRootCertificatePreprocessor(IRootCertificateLookUp rootCertificateLookUp,
                                          ILogger <EnsureRootCertificatePreprocessor> log)
 {
     _rootCertificateLookUp = rootCertificateLookUp;
     _log = log;
 }
Exemple #4
0
 public RootCertificateShouldBeTrusted(IRootCertificateLookUp rootCertificateLookUp, ILogger <RootCertificateShouldBeTrusted> log)
 {
     _rootCertificateLookUp = rootCertificateLookUp;
     _log = log;
 }