7 writes to ChainPolicy
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\IdentityModel\Selectors\X509CertificateValidator.cs (1)
87chain.ChainPolicy = _chainPolicy;
Microsoft.AspNetCore.Authentication.Certificate (1)
CertificateAuthenticationHandler.cs (1)
140ChainPolicy = chainPolicy
System.Net.Quic (1)
System\Net\Quic\QuicConnection.SslConnectionOptions.cs (1)
189chain.ChainPolicy = _certificateChainPolicy;
System.Net.Security (2)
System\Net\CertificateValidationPal.Unix.cs (1)
54chain.ChainPolicy = chainPolicy;
System\Net\Security\SslStream.Protocol.cs (1)
1072chain.ChainPolicy = _sslAuthenticationOptions.CertificateChainPolicy;
System.Security.Cryptography (1)
System\Security\Cryptography\X509Certificates\ManagedCertificateFinder.cs (1)
364ChainPolicy =
System.ServiceModel.Primitives (1)
System\IdentityModel\Selectors\X509CertificateValidator.cs (1)
213chain.ChainPolicy = _chainPolicy;
57 references to ChainPolicy
dotnet-dev-certs (1)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
68chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\X509CertificateClaimSet.cs (1)
101chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;
InMemory.FunctionalTests (5)
HttpsConnectionMiddlewareTests.cs (5)
816chain.ChainPolicy.VerificationFlags = X509VerificationFlags.AllFlags; 817chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck; 818chain.ChainPolicy.DisableCertificateDownloads = true; 833Assert.NotEmpty(chain.ChainPolicy.ExtraStore); 834Assert.Contains(clientChain[0], chain.ChainPolicy.ExtraStore);
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
68chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
68chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;
Microsoft.DotNet.SignCheckLibrary (3)
Verification\VsixVerifier.cs (3)
164certChain.ChainPolicy.RevocationFlag = X509RevocationFlag.ExcludeRoot; 165certChain.ChainPolicy.RevocationMode = X509RevocationMode.Online; 173certChain.ChainPolicy.VerificationFlags |= X509VerificationFlags.IgnoreNotTimeValid;
System.Net.Quic (6)
System\Net\Quic\QuicConnection.SslConnectionOptions.cs (6)
193chain.ChainPolicy.RevocationMode = _revocationMode; 194chain.ChainPolicy.RevocationFlag = X509RevocationFlag.ExcludeRoot; 200if (chain.ChainPolicy.ApplicationPolicy.Count == 0) 203chain.ChainPolicy.ApplicationPolicy.Add(_isClient ? s_serverAuthOid : s_clientAuthOid); 213chain.ChainPolicy.ExtraStore.AddRange(additionalCertificates); 216bool checkCertName = !chain!.ChainPolicy!.VerificationFlags.HasFlag(X509VerificationFlags.IgnoreInvalidName);
System.Net.Security (20)
System\Net\CertificateValidationPal.Unix.cs (1)
72chain.ChainPolicy.ExtraStore.Add(chainCert);
System\Net\Security\SslStream.Protocol.cs (9)
430chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck; 431chain.ChainPolicy.VerificationFlags = X509VerificationFlags.IgnoreInvalidName; 1076chain.ChainPolicy.RevocationMode = _sslAuthenticationOptions.CertificateRevocationCheckMode; 1077chain.ChainPolicy.RevocationFlag = X509RevocationFlag.ExcludeRoot; 1081chain.ChainPolicy.TrustMode = X509ChainTrustMode.CustomRootTrust; 1084chain.ChainPolicy.CustomTrustStore.AddRange(trust._store.Certificates); 1088chain.ChainPolicy.CustomTrustStore.AddRange(trust._trustList); 1094if (chain.ChainPolicy.ApplicationPolicy.Count == 0) 1097chain.ChainPolicy.ApplicationPolicy.Add(_sslAuthenticationOptions.IsServer ? s_clientAuthOid : s_serverAuthOid);
System\Net\Security\SslStreamCertificateContext.cs (10)
54chain.ChainPolicy.ExtraStore.AddRange(additionalCertificates); 61chain.ChainPolicy.CustomTrustStore.AddRange(trust._store.Certificates); 66chain.ChainPolicy.CustomTrustStore.AddRange(trust._trustList); 69if (chain.ChainPolicy.CustomTrustStore.Count > 0) 71chain.ChainPolicy.TrustMode = X509ChainTrustMode.CustomRootTrust; 75chain.ChainPolicy.VerificationFlags = X509VerificationFlags.AllFlags; 76chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck; 77chain.ChainPolicy.DisableCertificateDownloads = offline; 90chain.ChainPolicy.CustomTrustStore.AddRange(additionalCertificates); 91chain.ChainPolicy.TrustMode = X509ChainTrustMode.CustomRootTrust;
System.Security.Cryptography (1)
System\Security\Cryptography\X509Certificates\X509Chain.cs (1)
125X509ChainPolicy chainPolicy = ChainPolicy;
System.Security.Cryptography.Pkcs (6)
System\Security\Cryptography\Pkcs\CmsSigner.cs (3)
339chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck; 340chain.ChainPolicy.VerificationFlags = X509VerificationFlags.AllFlags; 341chain.ChainPolicy.VerificationTime = Certificate!.NotBefore;
System\Security\Cryptography\Pkcs\SignerInfo.cs (3)
710chain.ChainPolicy.ExtraStore.AddRange(extraStore); 711chain.ChainPolicy.RevocationMode = X509RevocationMode.Online; 712chain.ChainPolicy.RevocationFlag = X509RevocationFlag.ExcludeRoot;
System.Security.Cryptography.Xml (6)
System\Security\Cryptography\Xml\SignedXml.cs (1)
366chain.ChainPolicy.ExtraStore.AddRange(BuildBagOfCerts());
System\Security\Cryptography\Xml\SignedXmlDebugLog.cs (5)
966chain.ChainPolicy.RevocationFlag); 971chain.ChainPolicy.RevocationFlag); 976chain.ChainPolicy.VerificationFlags); 981chain.ChainPolicy.VerificationTime); 986chain.ChainPolicy.UrlRetrievalTimeout);
System.ServiceModel.Primitives (1)
System\IdentityModel\Claims\X509CertificateClaimSet.cs (1)
111chain.ChainPolicy.RevocationMode = X509RevocationMode.NoCheck;
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;