15 references to NoCertificate
InMemory.FunctionalTests (1)
HttpsConnectionMiddlewareTests.cs (1)
545
options.ClientCertificateMode = ClientCertificateMode.
NoCertificate
;
Interop.FunctionalTests (1)
Http3\Http3TlsTests.cs (1)
117
[InlineData(ClientCertificateMode.
NoCertificate
)]
Microsoft.AspNetCore.Server.Kestrel.Core (10)
HttpsConnectionAdapterOptions.cs (2)
26
ClientCertificateMode = 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
) &&
314
Certificate, ClientCertificateMode ?? Https.ClientCertificateMode.
NoCertificate
, Sni.Count, _configSectionClone);
350
(ClientCertificateMode ?? Https.ClientCertificateMode.
NoCertificate
) == (other.ClientCertificateMode ?? Https.ClientCertificateMode.
NoCertificate
);
354
Certificate, ClientCertificateMode ?? Https.ClientCertificateMode.
NoCertificate
);
Internal\SniOptionsSelector.cs (1)
85
if (clientCertificateMode != ClientCertificateMode.
NoCertificate
)
Middleware\HttpsConnectionMiddleware.cs (1)
111
var remoteCertificateValidationCallback = _options.ClientCertificateMode == ClientCertificateMode.
NoCertificate
?
Microsoft.AspNetCore.Server.Kestrel.Tests (3)
ConfigurationReaderTests.cs (1)
208
Assert.Equal(ClientCertificateMode.
NoCertificate
, end4.ClientCertificateMode);
KestrelConfigurationLoaderTests.cs (2)
1316
Assert.Equal(ClientCertificateMode.
NoCertificate
, opt.ClientCertificateMode);
1339
Assert.Equal(ClientCertificateMode.
NoCertificate
, httpsOptions.ClientCertificateMode);