15 references to NoCertificate
InMemory.FunctionalTests (1)
HttpsConnectionMiddlewareTests.cs (1)
545options.ClientCertificateMode = ClientCertificateMode.NoCertificate;
Interop.FunctionalTests (1)
Http3\Http3TlsTests.cs (1)
117[InlineData(ClientCertificateMode.NoCertificate)]
Microsoft.AspNetCore.Server.Kestrel.Core (10)
HttpsConnectionAdapterOptions.cs (2)
26ClientCertificateMode = ClientCertificateMode.NoCertificate; 64/// Specifies the client certificate requirements for a HTTPS connection. Defaults to <see cref="ClientCertificateMode.NoCertificate"/>.
Internal\ConfigurationReader.cs (6)
308(ClientCertificateMode ?? Https.ClientCertificateMode.NoCertificate) == (other.ClientCertificateMode ?? Https.ClientCertificateMode.NoCertificate) && 314Certificate, ClientCertificateMode ?? Https.ClientCertificateMode.NoCertificate, Sni.Count, _configSectionClone); 350(ClientCertificateMode ?? Https.ClientCertificateMode.NoCertificate) == (other.ClientCertificateMode ?? Https.ClientCertificateMode.NoCertificate); 354Certificate, ClientCertificateMode ?? Https.ClientCertificateMode.NoCertificate);
Internal\SniOptionsSelector.cs (1)
85if (clientCertificateMode != ClientCertificateMode.NoCertificate)
Middleware\HttpsConnectionMiddleware.cs (1)
111var remoteCertificateValidationCallback = _options.ClientCertificateMode == ClientCertificateMode.NoCertificate ?
Microsoft.AspNetCore.Server.Kestrel.Tests (3)
ConfigurationReaderTests.cs (1)
208Assert.Equal(ClientCertificateMode.NoCertificate, end4.ClientCertificateMode);
KestrelConfigurationLoaderTests.cs (2)
1316Assert.Equal(ClientCertificateMode.NoCertificate, opt.ClientCertificateMode); 1339Assert.Equal(ClientCertificateMode.NoCertificate, httpsOptions.ClientCertificateMode);