27 references to ChainElements
System (5)
net\System\Net\_SecureChannel.cs (3)
650if (chain.ChainElements.Count > 0) 652for (int ii=0; ii< chain.ChainElements.Count; ++ii) 654string issuer = chain.ChainElements[ii].Certificate.Issuer;
net\System\Net\UnsafeNativeMethods.cs (2)
1738if (chain.ChainElements.Count > 0) 1740X509Certificate2 cert = chain.ChainElements[0].Certificate;
System.Core (3)
System\Security\Cryptography\X509Certificates\AuthenticodeSignatureInformation.cs (2)
114Debug.Assert(SignatureChain.ChainElements.Count > 0, "SignatureChain.ChainElements.Count > 0"); 115m_signingCertificate = SignatureChain.ChainElements[0].Certificate;
System\Security\Cryptography\X509Certificates\TimestampInformation.cs (1)
86m_timestamper = SignatureChain.ChainElements[0].Certificate;
System.IdentityModel (2)
System\IdentityModel\Claims\X509CertificateClaimSet.cs (1)
107this.elements = chain.ChainElements;
System\IdentityModel\X509Util.cs (1)
138X509ChainElementCollection elements = chain.ChainElements;
System.Security (8)
system\security\cryptography\pkcs\pkcsutils.cs (4)
933cCerts = chain.ChainElements.Count; 937if (chain.ChainElements.Count > 1) { 938cCerts = chain.ChainElements.Count - 1; 943certificates.Add(chain.ChainElements[i].Certificate);
system\security\cryptography\x509\x509utils.cs (1)
243X509ChainElementCollection elements = chain.ChainElements;
system\security\cryptography\xml\keyinfo.cs (2)
543elements = (X509ChainElementCollection) chain.ChainElements; 561elements = (X509ChainElementCollection) chain.ChainElements;
system\security\cryptography\xml\SignedXmlDebugLog.cs (1)
947foreach (X509ChainElement element in chain.ChainElements) {
System.ServiceModel (6)
System\ServiceModel\EndpointIdentity.cs (4)
136if (certificateChain.ChainElements.Count == 0) 141X509Certificate2 primaryCertificate = certificateChain.ChainElements[0].Certificate; 143for (int i = 1; i < certificateChain.ChainElements.Count; ++i) 145certificateCollection.Add(certificateChain.ChainElements[i].Certificate);
System\ServiceModel\Security\X509ClientCertificateAuthentication.cs (2)
264if (chain.ChainElements.Count > 1) //is not self-signed 269X509Certificate2 cert = chain.ChainElements[1].Certificate;
System.Windows.Forms (3)
parent\parent\parent\public\Internal\NDP\Inc\mansign.cs (1)
594X509Certificate2 signerCert = m_authenticodeSignerInfo.SignerChain.ChainElements[0].Certificate;
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (1)
1202X509Certificate2 signerCert = m_authenticodeSignerInfo.SignerChain.ChainElements[0].Certificate;
winforms\Managed\System\WinForms\TrustManager.cs (1)
402parsedData.Certificate = signedManifest.AuthenticodeSignerInfo.SignerChain.ChainElements[0].Certificate;