44 references to _x509Certificate2
InMemory.FunctionalTests (44)
HttpsConnectionMiddlewareTests.cs (44)
55listenOptions.UseHttps(new HttpsConnectionAdapterOptions { ServerCertificate = _x509Certificate2 }); 109listenOptions.UseHttps(new HttpsConnectionAdapterOptions { ServerCertificate = _x509Certificate2 }); 138return _x509Certificate2; 178ServerCertificate = _x509Certificate2, 212ServerCertificate = _x509Certificate2, 229ServerCertificate = _x509Certificate2, 255ServerCertificate = _x509Certificate2, 286listenOptions.UseHttps(new HttpsConnectionAdapterOptions { ServerCertificate = _x509Certificate2 }); 295Assert.True(stream.RemoteCertificate.Equals(_x509Certificate2)); 314return _x509Certificate2; 325Assert.True(stream.RemoteCertificate.Equals(_x509Certificate2)); 347ServerCertificate = _x509Certificate2 358Assert.True(stream.RemoteCertificate.Equals(_x509Certificate2)); 380return _x509Certificate2; 393Assert.True(stream.RemoteCertificate.Equals(_x509Certificate2)); 451return _x509Certificate2; 462Assert.True(stream.RemoteCertificate.Equals(_x509Certificate2)); 508options.ServerCertificate = _x509Certificate2; 544options.ServerCertificate = _x509Certificate2; 588options.ServerCertificate = _x509Certificate2; 629options.ServerCertificate = _x509Certificate2; 671ServerCertificate = _x509Certificate2, 718ServerCertificate = _x509Certificate2, 762options.ServerCertificate = _x509Certificate2; 830ServerCertificate = _x509Certificate2, 886options.ServerCertificate = _x509Certificate2; 928ServerCertificate = _x509Certificate2, 959ServerCertificate = _x509Certificate2, 991ServerCertificate = _x509Certificate2, 1023options.ServerCertificate = _x509Certificate2; 1070options.ServerCertificate = _x509Certificate2; 1119listenOptions.UseHttps(new HttpsConnectionAdapterOptions { ServerCertificate = _x509Certificate2 }); 1139options.ServerCertificate = _x509Certificate2; 1171ServerCertificate = _x509Certificate2, 1204ServerCertificate = _x509Certificate2, 1230ServerCertificate = _x509Certificate2, 1253options.ServerCertificate = _x509Certificate2; 1278options.ServerCertificate = _x509Certificate2; 1389listenOptions.UseHttps(_x509Certificate2); 1420ServerCertificate = _x509Certificate2, 1434ServerCertificate = _x509Certificate2, 1448ServerCertificate = _x509Certificate2, 1461ServerCertificate = _x509Certificate2, 1517(sender, host, certificates, certificate, issuers) => clientCertificate ?? _x509Certificate2);