21 references to AllowCertificate
InMemory.FunctionalTests (4)
HttpsConnectionMiddlewareTests.cs (4)
230ClientCertificateMode = ClientCertificateMode.AllowCertificate 1162[InlineData(ClientCertificateMode.AllowCertificate)] 1196[InlineData(ClientCertificateMode.AllowCertificate)] 1222[InlineData(ClientCertificateMode.AllowCertificate)]
Interop.FunctionalTests (4)
Http3\Http3TlsTests.cs (4)
74[InlineData(ClientCertificateMode.AllowCertificate)] 161[InlineData(ClientCertificateMode.AllowCertificate, false)] 162[InlineData(ClientCertificateMode.AllowCertificate, true)] 233httpsOptions.ClientCertificateMode = ClientCertificateMode.AllowCertificate;
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\SniOptionsSelector.cs (1)
87sslOptions.ClientCertificateRequired = clientCertificateMode == ClientCertificateMode.AllowCertificate
Middleware\HttpsConnectionMiddleware.cs (2)
341ClientCertificateRequired = _options.ClientCertificateMode == ClientCertificateMode.AllowCertificate 566if (httpsOptions.ClientCertificateMode == ClientCertificateMode.AllowCertificate
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (3)
SniOptionsSelectorTests.cs (3)
755ClientCertificateMode = ClientCertificateMode.AllowCertificate 790ClientCertificateMode = ClientCertificateMode.AllowCertificate 797Assert.Equal(ClientCertificateMode.AllowCertificate, certMode);
Microsoft.AspNetCore.Server.Kestrel.Tests (7)
ConfigurationReaderTests.cs (3)
187Assert.Equal(ClientCertificateMode.AllowCertificate, end2.ClientCertificateMode); 336Assert.Equal(ClientCertificateMode.AllowCertificate, config.ClientCertificateMode); 390Assert.Equal(ClientCertificateMode.AllowCertificate, endpoint.ClientCertificateMode);
KestrelConfigurationLoaderTests.cs (4)
1330Assert.Equal(ClientCertificateMode.AllowCertificate, opt.HttpsOptions.ClientCertificateMode); 1398Assert.Equal(ClientCertificateMode.AllowCertificate, opt.HttpsOptions.ClientCertificateMode); 1425Assert.Equal(ClientCertificateMode.AllowCertificate, opt.HttpsOptions.ClientCertificateMode); 1442Assert.Equal(ClientCertificateMode.AllowCertificate, opt.ClientCertificateMode);