32 references to Count
System.IdentityModel (26)
System\IdentityModel\EnvelopedSignatureReader.cs (3)
185
if (_signedXml.Signature == null || _signedXml.Signature.KeyIdentifier == null || _signedXml.Signature.KeyIdentifier.
Count
== 0)
196
if (_signedXml.Signature.KeyIdentifier.
Count
< 2 || LocalAppContextSwitches.ReturnMultipleSecurityKeyIdentifierClauses)
242
if (_signedXml.Signature.KeyIdentifier.
Count
< 2 || LocalAppContextSwitches.ReturnMultipleSecurityKeyIdentifierClauses)
System\IdentityModel\Selectors\SecurityTokenResolver.cs (3)
137
if (keyIdentifier != null && keyIdentifier.
Count
> 0)
139
for (int i = 0; i < keyIdentifier.
Count
; i++)
163
for (int i = 0; i < keyIdentifier.
Count
; ++i)
System\IdentityModel\Tokens\KeyInfoSerializer.cs (1)
177
if (keyIdentifier.
Count
== 0)
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (2)
2279
if (keyIdentifier.
Count
< 2 || LocalAppContextSwitches.ProcessMultipleSecurityKeyIdentifierClauses)
4422
if (ski.
Count
== 0)
System\IdentityModel\Tokens\SamlAssertion.cs (3)
321
if (securityKeyIdentifier.
Count
< 2 || LocalAppContextSwitches.ProcessMultipleSecurityKeyIdentifierClauses)
330
if (securityKeyIdentifier.
Count
< 2 || LocalAppContextSwitches.ProcessMultipleSecurityKeyIdentifierClauses)
350
for (int i = 0; i < ski.
Count
; ++i)
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (2)
3434
if (keyIdentifier.
Count
< 2 || LocalAppContextSwitches.ProcessMultipleSecurityKeyIdentifierClauses)
3477
if (ski.
Count
== 0)
System\IdentityModel\Tokens\SamlSerializer.cs (1)
204
for (int i = 0; i < ski.
Count
; ++i)
System\IdentityModel\Tokens\SecurityKeyElement.cs (1)
208
for (int i = 0; i < _securityKeyIdentifier.
Count
; ++i)
System\IdentityModel\Tokens\SecurityKeyIdentifier.cs (6)
45
for (int i = 0; i < this.
Count
; i++)
81
for (int i = 0; i < this.
Count
; i++)
118
writer.WriteLine(" Count = {0}{1}", this.
Count
, this.
Count
> 0 ? "," : "");
119
for (int i = 0; i < this.
Count
; i++)
121
writer.WriteLine(" Clause[{0}] = {1}{2}", i, this[i], i < this.
Count
- 1 ? "," : "");
System\IdentityModel\Tokens\X509CertificateStoreTokenResolver.cs (2)
92
if (keyIdentifier != null && keyIdentifier.
Count
> 0)
94
for (int i = 0; i < keyIdentifier.
Count
; i++)
System\IdentityModel\Tokens\XmlDsigSep2000.cs (1)
78
if ( keyIdentifier.
Count
== 0 )
System\ServiceModel\Security\EncryptedType.cs (1)
309
if (keyIdentifier.
Count
== 0)
System.ServiceModel (6)
System\ServiceModel\Security\ReceiveSecurityHeader.cs (1)
2136
for (int i = 0; i < keyIdentifier.
Count
; ++i)
System\ServiceModel\Security\SecurityHeaderTokenResolver.cs (2)
85
for (int i = 0; i < keyIdentifier.
Count
; i++)
101
for (int i = 0; i < keyIdentifier.
Count
; i++)
System\ServiceModel\Security\SecurityUtils.cs (1)
2267
for (int i = 0; i < keyClause.EncryptingKeyIdentifier.
Count
; i++)
System\ServiceModel\Security\WSSecurityJan2004.cs (1)
549
if (unwrappingTokenIdentifier == null || unwrappingTokenIdentifier.
Count
== 0)
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (1)
490
if (keyIdentifier.
Count
== 1)