22 references to _x509Certificate2
InMemory.FunctionalTests (22)
HttpsTests.cs (22)
51serverOptions.TestOverrideDefaultCertificate = _x509Certificate2; 114options.ServerCertificate = _x509Certificate2; 122Assert.Equal(_x509Certificate2, opt.ServerCertificate); 145return _x509Certificate2; 179listenOptions.UseHttps(_x509Certificate2); 207listenOptions.UseHttps(_x509Certificate2); 251listenOptions.UseHttps(_x509Certificate2); 295listenOptions.UseHttps(_x509Certificate2); 326listenOptions.UseHttps(_x509Certificate2); 352listenOptions.UseHttps(_x509Certificate2); 376o.ServerCertificate = new X509Certificate2(_x509Certificate2); 410ServerCertificate = _x509Certificate2, 430serverOptions.TestOverrideDefaultCertificate = _x509Certificate2; 464Assert.Equal(_x509Certificate2, sslServerAuthenticationOptions.ServerCertificate); 487https.ServerCertificate = _x509Certificate2; 508Assert.Equal(_x509Certificate2, sslServerAuthenticationOptions.ServerCertificate); 515serverOptions.TestOverrideDefaultCertificate = _x509Certificate2; 549serverOptions.TestOverrideDefaultCertificate = _x509Certificate2; 585serverOptions.TestOverrideDefaultCertificate = _x509Certificate2; 631serverOptions.TestOverrideDefaultCertificate = _x509Certificate2; 716var testCert = _x509Certificate2; 752var testCert = _x509Certificate2;