2 writes to tokens
System.ServiceModel (2)
System\ServiceModel\Security\SecurityHeaderTokenResolver.cs (2)
31
this.
tokens
= new SecurityTokenEntry[InitialTokenArraySize];
74
this.
tokens
= newTokens;
17 references to tokens
System.ServiceModel (17)
System\ServiceModel\Security\SecurityHeaderTokenResolver.cs (17)
65
this.
tokens
[this.tokenCount++] = new SecurityTokenEntry(token, tokenParameters, allowedReferenceStyle);
70
if (this.tokenCount == this.
tokens
.Length)
72
SecurityTokenEntry[] newTokens = new SecurityTokenEntry[this.
tokens
.Length * 2];
73
Array.Copy(this.
tokens
, 0, newTokens, 0, this.tokenCount);
122
securityKey = this.
tokens
[i].Token.ResolveKeyIdentifierClause(keyIdentifierClause);
157
if (matchOnlyExternal &&
tokens
[i].AllowedReferenceStyle != SecurityTokenReferenceStyle.External)
162
SecurityToken token =
tokens
[i].Token;
163
if (
tokens
[i].TokenParameters != null &&
tokens
[i].TokenParameters.MatchesKeyIdentifierClause(token, keyIdentifierClause,
tokens
[i].AllowedReferenceStyle))
168
else if (
tokens
[i].TokenParameters == null)
171
if (
tokens
[i].AllowedReferenceStyle == SecurityTokenReferenceStyle.Internal && MatchDirectReference(token, keyIdentifierClause))
217
DerivedKeySecurityToken derivedKeyToken = this.
tokens
[i].Token as DerivedKeySecurityToken;
226
resolvedToken = this.
tokens
[i].Token;
257
i, this.
tokens
[i].AllowedReferenceStyle, this.
tokens
[i].Token.GetType(),
tokens
[i].TokenParameters);