27 references to TestResources
Interop.FunctionalTests (27)
H2SpecTests.cs (1)
41
listenOptions.UseHttps(
TestResources
.GetTestCertificate());
Http2\Http2RequestTests.cs (1)
109
listenOptions.UseHttps(
TestResources
.GetTestCertificate(), https =>
Http2WebSocketInteropTests.cs (1)
183
listenOptions.UseHttps(
TestResources
.GetTestCertificate());
Http3\Http3RequestTests.cs (7)
901
listenOptions.UseHttps(
TestResources
.GetTestCertificate());
1222
listenOptions.UseHttps(
TestResources
.GetTestCertificate()).Use(@delegate =>
1590
listenOptions.UseHttps(
TestResources
.GetTestCertificate());
1648
ServerCertificate =
TestResources
.GetTestCertificate()
1694
listenOptions.UseHttps(
TestResources
.GetTestCertificate());
1863
listenOptions.UseHttps(
TestResources
.GetTestCertificate());
2026
listenOptions.UseHttps(
TestResources
.GetTestCertificate());
Http3\Http3TlsTests.cs (10)
45
return
TestResources
.GetTestCertificate();
91
httpsOptions.ServerCertificate =
TestResources
.GetTestCertificate();
133
httpsOptions.ServerCertificate =
TestResources
.GetTestCertificate();
178
httpsOptions.ServerCertificate =
TestResources
.GetTestCertificate();
232
httpsOptions.ServerCertificate =
TestResources
.GetTestCertificate();
273
httpsOptions.ServerCertificate =
TestResources
.GetTestCertificate();
308
ServerCertificate =
TestResources
.GetTestCertificate(),
361
httpsOptions.ServerCertificate =
TestResources
.GetTestCertificate();
369
ServerCertificate =
TestResources
.GetTestCertificate()
433
var expectedCertificate = new X509Certificate2(
TestResources
.GetCertPath("aspnetdevcert.pfx"), "testPassword", X509KeyStorageFlags.Exportable);
HttpClientHttp2InteropTests.cs (5)
1611
httpsOptions.ServerCertificate =
TestResources
.GetTestCertificate();
1629
handler.SslOptions.LocalCertificateSelectionCallback = (_, _, _, _, _) =>
TestResources
.GetTestCertificate();
1656
httpsOptions.ServerCertificate =
TestResources
.GetTestCertificate();
1674
handler.SslOptions.LocalCertificateSelectionCallback = (_, _, _, _, _) =>
TestResources
.GetTestCertificate();
1715
listenOptions.UseHttps(
TestResources
.GetTestCertificate());
HttpHelpers.cs (2)
45
ClientCertificates = !includeClientCert ? null : new X509CertificateCollection() {
TestResources
.GetTestCertificate() },
81
listenOptions.UseHttps(
TestResources
.GetTestCertificate());