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