Esempio n. 1
0
        public ScanTest(ScanTestOptions options)
        {
            Options = options;

            if (Options.MinCertDays < 0)
            {
                throw new ArgumentException("--min-cert-days cannot be negative.");
            }

            InitializeHttpClient();
        }
Esempio n. 2
0
 public ScanTestMediaServer(ScanTestOptions options)
 {
     Options            = options;
     ServerCertificates = new ConcurrentDictionary <string, X509Certificate2>();
 }