112 references to X509RevocationMode
Binding.Custom.IntegrationTests (1)
CustomBindingTests.4.1.0.cs (1)
36factory.Credentials.ServiceCertificate.Authentication.RevocationMode = X509RevocationMode.NoCheck;
Binding.UDS.IntegrationTests (1)
UDSBindingTests.cs (1)
121RevocationMode = X509RevocationMode.NoCheck
dotnet-dev-certs (1)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
68chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;
dotnet-svcutil-lib (7)
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\X509CertificateClaimSet.cs (1)
101chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\X509ClientCertificateAuthentication.cs (2)
13internal const X509RevocationMode DefaultRevocationMode = X509RevocationMode.Online;
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\X509ServiceCertificateAuthentication.cs (4)
14internal const X509RevocationMode DefaultRevocationMode = X509RevocationMode.Online; 19private X509RevocationMode _revocationMode = DefaultRevocationMode; 66public X509RevocationMode RevocationMode
InMemory.FunctionalTests (3)
HttpsConnectionMiddlewareTests.cs (3)
254CertificateRevocationCheckMode = X509RevocationMode.NoCheck 817chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck; 837so.CertificateRevocationCheckMode = X509RevocationMode.NoCheck;
Microsoft.AspNetCore.Authentication.Certificate (5)
CertificateAuthenticationHandler.cs (2)
191X509RevocationMode revocationMode = Options.RevocationMode; 197revocationMode = X509RevocationMode.NoCheck;
CertificateAuthenticationOptions.cs (3)
71/// Defaults to <see cref="X509RevocationMode.Online" />. 73public X509RevocationMode RevocationMode { get; set; } = X509RevocationMode.Online;
Microsoft.AspNetCore.Authentication.Test (4)
CertificateTests.cs (4)
322RevocationMode = X509RevocationMode.NoCheck 339RevocationMode = X509RevocationMode.NoCheck 357RevocationMode = X509RevocationMode.NoCheck 374RevocationMode = X509RevocationMode.NoCheck
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
68chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;
Microsoft.AspNetCore.Server.Kestrel.Core (7)
Internal\SniOptionsSelector.cs (2)
54CertificateRevocationCheckMode = fallbackHttpsOptions.CheckCertificateRevocation ? X509RevocationMode.Online : X509RevocationMode.NoCheck,
Middleware\HttpsConnectionMiddleware.cs (4)
344CertificateRevocationCheckMode = _options.CheckCertificateRevocation ? X509RevocationMode.Online : X509RevocationMode.NoCheck, 546CertificateRevocationCheckMode = httpsOptions.CheckCertificateRevocation ? X509RevocationMode.Online : X509RevocationMode.NoCheck,
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
68chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
SniOptionsSelectorTests.cs (1)
836CertificateRevocationCheckMode = X509RevocationMode.Offline,
Microsoft.DotNet.SignCheckLibrary (1)
Verification\VsixVerifier.cs (1)
165certChain.ChainPolicy.RevocationMode = X509RevocationMode.Online;
netstandard (1)
netstandard.cs (1)
1978[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X509RevocationMode))]
Security.TransportSecurity.IntegrationTests (5)
Tcp\ClientCredentialTypeCertificateCanonicalNameTests.4.1.0.cs (1)
208factory.Credentials.ServiceCertificate.Authentication.RevocationMode = X509RevocationMode.NoCheck;
Tcp\ClientCredentialTypeTests.4.1.0.cs (1)
137factory.Credentials.ServiceCertificate.Authentication.RevocationMode = X509RevocationMode.NoCheck;
Tcp\ClientCredentialTypeTests.4.1.1.cs (1)
196factory.Credentials.ServiceCertificate.Authentication.RevocationMode = X509RevocationMode.NoCheck;
Tcp\IdentityTests.4.1.0.cs (1)
31factory.Credentials.ServiceCertificate.Authentication.RevocationMode = X509RevocationMode.NoCheck;
Tcp\IdentityTests.4.1.1.cs (1)
31factory.Credentials.ServiceCertificate.Authentication.RevocationMode = X509RevocationMode.NoCheck;
System (1)
src\libraries\shims\System\ref\System.cs (1)
885[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X509RevocationMode))]
System.Net.Http (3)
System\Net\Http\HttpClientHandler.cs (3)
325get => _underlyingHandler.SslOptions.CertificateRevocationCheckMode == X509RevocationMode.Online; 329_underlyingHandler.SslOptions.CertificateRevocationCheckMode = value ? X509RevocationMode.Online : X509RevocationMode.NoCheck;
System.Net.Quic (2)
System\Net\Quic\QuicConnection.SslConnectionOptions.cs (2)
42private readonly X509RevocationMode _revocationMode; 56string targetHost, bool certificateRequired, X509RevocationMode
System.Net.Requests (2)
System\Net\HttpWebRequest.cs (2)
1740handler.SslOptions.CertificateRevocationCheckMode = parameters.CheckCertificateRevocationList ? X509RevocationMode.Online : X509RevocationMode.NoCheck;
System.Net.Security (35)
System\Net\Security\SslAuthenticationOptions.cs (1)
176internal X509RevocationMode CertificateRevocationCheckMode { get; set; }
System\Net\Security\SslClientAuthenticationOptions.cs (7)
14private X509RevocationMode _checkCertificateRevocation = X509RevocationMode.NoCheck; 49public X509RevocationMode CertificateRevocationCheckMode 54if (value != X509RevocationMode.NoCheck && value != X509RevocationMode.Offline && value != X509RevocationMode.Online) 56throw new ArgumentException(SR.Format(SR.net_invalid_enum, nameof(X509RevocationMode)), nameof(value));
System\Net\Security\SslServerAuthenticationOptions.cs (7)
12private X509RevocationMode _checkCertificateRevocation = X509RevocationMode.NoCheck; 51public X509RevocationMode CertificateRevocationCheckMode 56if (value != X509RevocationMode.NoCheck && value != X509RevocationMode.Offline && value != X509RevocationMode.Online) 58throw new ArgumentException(SR.Format(SR.net_invalid_enum, nameof(X509RevocationMode)), nameof(value));
System\Net\Security\SslStream.cs (15)
250CertificateRevocationCheckMode = checkCertificateRevocation ? X509RevocationMode.Online : X509RevocationMode.NoCheck, 289CertificateRevocationCheckMode = checkCertificateRevocation ? X509RevocationMode.Online : X509RevocationMode.NoCheck, 325CertificateRevocationCheckMode = checkCertificateRevocation ? X509RevocationMode.Online : X509RevocationMode.NoCheck, 359CertificateRevocationCheckMode = checkCertificateRevocation ? X509RevocationMode.Online : X509RevocationMode.NoCheck, 387CertificateRevocationCheckMode = checkCertificateRevocation ? X509RevocationMode.Online : X509RevocationMode.NoCheck, 412CertificateRevocationCheckMode = checkCertificateRevocation ? X509RevocationMode.Online : X509RevocationMode.NoCheck, 426CertificateRevocationCheckMode = checkCertificateRevocation ? X509RevocationMode.Online : X509RevocationMode.NoCheck, 539public virtual bool CheckCertRevocationStatus => _sslAuthenticationOptions.CertificateRevocationCheckMode != X509RevocationMode.NoCheck;
System\Net\Security\SslStream.Protocol.cs (4)
430chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck; 606_sslAuthenticationOptions.CertificateRevocationCheckMode != X509RevocationMode.NoCheck, 752_sslAuthenticationOptions.CertificateRevocationCheckMode != X509RevocationMode.NoCheck, 954_sslAuthenticationOptions.CertificateRevocationCheckMode != X509RevocationMode.NoCheck,
System\Net\Security\SslStreamCertificateContext.cs (1)
76chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;
System.Security.Cryptography (21)
System\Security\Cryptography\X509Certificates\ChainPal.cs (1)
18X509RevocationMode revocationMode,
System\Security\Cryptography\X509Certificates\ChainPal.OpenSsl.cs (4)
36X509RevocationMode revocationMode, 80X509RevocationMode revocationMode, 167if (revocationMode != X509RevocationMode.NoCheck) 183revocationMode = X509RevocationMode.NoCheck;
System\Security\Cryptography\X509Certificates\ManagedCertificateFinder.cs (1)
366RevocationMode = X509RevocationMode.NoCheck,
System\Security\Cryptography\X509Certificates\OpenSslCrlCache.cs (3)
31X509RevocationMode revocationMode, 37if (revocationMode != X509RevocationMode.Online) 62if (revocationMode != X509RevocationMode.Online)
System\Security\Cryptography\X509Certificates\OpenSslX509ChainEventSource.cs (1)
706internal void RevocationCheckStart(X509RevocationMode revocationMode, X509RevocationFlag revocationFlag, int chainSize)
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (6)
355X509RevocationMode revocationMode, 384if (revocationMode != X509RevocationMode.NoCheck) 436X509RevocationMode revocationMode, 742X509RevocationMode revocationMode) 744if (revocationMode == X509RevocationMode.NoCheck) 763if (revocationMode != X509RevocationMode.Online)
System\Security\Cryptography\X509Certificates\X509ChainPolicy.cs (5)
8private X509RevocationMode _revocationMode; 53public X509RevocationMode RevocationMode 61if (value < X509RevocationMode.NoCheck || value > X509RevocationMode.Offline) 128_revocationMode = X509RevocationMode.Online;
System.Security.Cryptography.Pkcs (2)
System\Security\Cryptography\Pkcs\CmsSigner.cs (1)
339chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;
System\Security\Cryptography\Pkcs\SignerInfo.cs (1)
711chain.ChainPolicy.RevocationMode = X509RevocationMode.Online;
System.Security.Cryptography.X509Certificates (1)
System.Security.Cryptography.X509Certificates.cs (1)
42[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Security.Cryptography.X509Certificates.X509RevocationMode))]
System.ServiceModel.NetFramingBase (1)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (1)
242chainPolicy.RevocationMode = X509RevocationMode.Online;
System.ServiceModel.Primitives (1)
netstandard.cs (1)
2293public System.Security.Cryptography.X509Certificates.X509RevocationMode RevocationMode { get { return default; } set { } }
Templates.Blazor.Tests (1)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
68chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
68chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
68chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;
Templates.Mvc.Tests (1)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
68chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;
Templates.Tests (1)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
68chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;