44 references to _x509Certificate2
InMemory.FunctionalTests (44)
HttpsConnectionMiddlewareTests.cs (44)
55listenOptions.UseHttps(new HttpsConnectionAdapterOptions { ServerCertificate = _x509Certificate2 });
109listenOptions.UseHttps(new HttpsConnectionAdapterOptions { ServerCertificate = _x509Certificate2 });
138return _x509Certificate2;
176ServerCertificate = _x509Certificate2,
208ServerCertificate = _x509Certificate2,
225ServerCertificate = _x509Certificate2,
251ServerCertificate = _x509Certificate2,
282listenOptions.UseHttps(new HttpsConnectionAdapterOptions { ServerCertificate = _x509Certificate2 });
291Assert.True(stream.RemoteCertificate.Equals(_x509Certificate2));
310return _x509Certificate2;
321Assert.True(stream.RemoteCertificate.Equals(_x509Certificate2));
343ServerCertificate = _x509Certificate2
354Assert.True(stream.RemoteCertificate.Equals(_x509Certificate2));
376return _x509Certificate2;
389Assert.True(stream.RemoteCertificate.Equals(_x509Certificate2));
447return _x509Certificate2;
458Assert.True(stream.RemoteCertificate.Equals(_x509Certificate2));
504options.ServerCertificate = _x509Certificate2;
540options.ServerCertificate = _x509Certificate2;
584options.ServerCertificate = _x509Certificate2;
625options.ServerCertificate = _x509Certificate2;
667ServerCertificate = _x509Certificate2,
714ServerCertificate = _x509Certificate2,
758options.ServerCertificate = _x509Certificate2;
826ServerCertificate = _x509Certificate2,
882options.ServerCertificate = _x509Certificate2;
924ServerCertificate = _x509Certificate2,
955ServerCertificate = _x509Certificate2,
987ServerCertificate = _x509Certificate2,
1019options.ServerCertificate = _x509Certificate2;
1066options.ServerCertificate = _x509Certificate2;
1115listenOptions.UseHttps(new HttpsConnectionAdapterOptions { ServerCertificate = _x509Certificate2 });
1135options.ServerCertificate = _x509Certificate2;
1167ServerCertificate = _x509Certificate2,
1200ServerCertificate = _x509Certificate2,
1226ServerCertificate = _x509Certificate2,
1249options.ServerCertificate = _x509Certificate2;
1274options.ServerCertificate = _x509Certificate2;
1385listenOptions.UseHttps(_x509Certificate2);
1416ServerCertificate = _x509Certificate2,
1430ServerCertificate = _x509Certificate2,
1444ServerCertificate = _x509Certificate2,
1457ServerCertificate = _x509Certificate2,
1513(sender, host, certificates, certificate, issuers) => clientCertificate ?? _x509Certificate2);