30 references to ChainElements
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\IdentityModel\Claims\X509CertificateClaimSet.cs (1)
104_elements = chain.ChainElements;
Microsoft.DotNet.SignCheckLibrary (2)
Verification\XmlVerifier.cs (2)
76int numberOfChainElements = chain.ChainElements.Count; 84rootChainElement = chain.ChainElements[numberOfChainElements - 1];
System.Net.Quic (1)
System\Net\Quic\QuicConnection.SslConnectionOptions.cs (1)
264X509ChainElementCollection elements = chain.ChainElements;
System.Net.Security (16)
System\Net\Security\SslStream.Protocol.cs (7)
438if (chain.ChainElements.Count > 0) 440int elementsCount = chain.ChainElements.Count; 443string issuer = chain.ChainElements[ii].Certificate!.Issuer; 465int elementsCount = chain.ChainElements.Count; 468chain.ChainElements[element].Certificate.Dispose(); 1148int elementsCount = chain.ChainElements.Count; 1151chain.ChainElements[i].Certificate.Dispose();
System\Net\Security\SslStreamCertificateContext.cs (9)
99int count = chain.ChainElements.Count - 1; 109root = chain.ChainElements[chain.ChainElements.Count - 1].Certificate; 125if (count > 0 && chain.ChainElements.Count > 1) 130intermediates[i] = chain.ChainElements[i + 1].Certificate; 135chain.ChainElements[0].Certificate.Dispose(); 140chain.ChainElements.Count : 141chain.ChainElements.Count - 1; 145chain.ChainElements[i].Certificate.Dispose();
System.Security.Cryptography (4)
System\Security\Cryptography\X509Certificates\ManagedCertificateFinder.cs (2)
372int elementCount = chain.ChainElements.Count; 376chain.ChainElements[i].Certificate.Dispose();
System\Security\Cryptography\X509Certificates\X509Certificate2.cs (2)
688for (int i = 0; i < chain.ChainElements.Count; i++) 690chain.ChainElements[i].Certificate.Dispose();
System.Security.Cryptography.Pkcs (2)
System\Security\Cryptography\Pkcs\CmsSigner.cs (2)
349if (chain.ChainElements.Count == 0) 365X509ChainElementCollection elements = chain.ChainElements;
System.Security.Cryptography.Xml (4)
System\Security\Cryptography\Xml\KeyInfoX509Data.cs (2)
74elements = (X509ChainElementCollection)chain.ChainElements; 95elements = (X509ChainElementCollection)chain.ChainElements;
System\Security\Cryptography\Xml\SignedXmlDebugLog.cs (1)
1016foreach (X509ChainElement element in chain.ChainElements)
System\Security\Cryptography\Xml\Utils.cs (1)
751X509ChainElementCollection elements = chain.ChainElements;