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