2 writes to _chainPolicy
System.Security.Cryptography (2)
System\Security\Cryptography\X509Certificates\X509Chain.cs (2)
44
get =>
_chainPolicy
??= new X509ChainPolicy();
48
_chainPolicy
= value;
8 references to _chainPolicy
System.Security.Cryptography (8)
System\Security\Cryptography\X509Certificates\X509Chain.cs (8)
101
if (
_chainPolicy
!= null)
103
if (
_chainPolicy
._customTrustStore != null)
105
if (
_chainPolicy
.TrustMode == X509ChainTrustMode.System &&
_chainPolicy
.CustomTrustStore.Count > 0)
108
foreach (X509Certificate2 customCertificate in
_chainPolicy
.CustomTrustStore)
117
if (
_chainPolicy
.TrustMode == X509ChainTrustMode.CustomRootTrust &&
_chainPolicy
._customTrustStore == null)
119
_chainPolicy
._customTrustStore = new X509Certificate2Collection();