97 references to Endorsing
System.ServiceModel (97)
System\ServiceModel\Channels\SecurityBindingElement.cs (47)
324
this.GetSupportingTokensCapabilities(requirements.
Endorsing
, out tmpSupportsClientAuth, out tmpSupportsWindowsIdentity);
450
for (int i = 0; i < supportingParameters.
Endorsing
.Count; ++i)
452
SetIssuerBindingContextIfRequired(supportingParameters.
Endorsing
[i], issuerBindingContext);
491
foreach (SecurityTokenParameters parameters in EndpointSupportingTokenParameters.
Endorsing
)
505
foreach (SecurityTokenParameters parameters in OptionalEndpointSupportingTokenParameters.
Endorsing
)
521
foreach (SecurityTokenParameters parameters in supportingParameters.
Endorsing
)
538
foreach (SecurityTokenParameters parameters in supportingParameters.
Endorsing
)
984
result.EndpointSupportingTokenParameters.
Endorsing
.Add(
1057
if (parameters.Signed.Count != 0 || parameters.SignedEncrypted.Count != 0 || parameters.
Endorsing
.Count != 1 || parameters.SignedEndorsing.Count != 0)
1060
x509Parameters = parameters.
Endorsing
[0] as X509SecurityTokenParameters;
1181
if (parameters.Signed.Count != 0 || parameters.SignedEncrypted.Count != 1 || parameters.
Endorsing
.Count != 0 || parameters.SignedEndorsing.Count != 0)
1311
result.EndpointSupportingTokenParameters.
Endorsing
.Add(issuedTokenParameters);
1336
if (parameters.Signed.Count != 0 || (parameters.SignedEncrypted.Count == 0 && parameters.
Endorsing
.Count == 0) || parameters.SignedEndorsing.Count != 0)
1339
if ((parameters.SignedEncrypted.Count == 1) && (parameters.
Endorsing
.Count == 0))
1345
else if ((parameters.
Endorsing
.Count == 1) && (parameters.SignedEncrypted.Count == 0))
1347
issuedTokenParameters = parameters.
Endorsing
[0] as IssuedSecurityTokenParameters;
1383
result.EndpointSupportingTokenParameters.
Endorsing
.Add(issuedTokenParameters);
1411
if (parameters.Signed.Count != 0 || (parameters.SignedEncrypted.Count == 0 && parameters.
Endorsing
.Count == 0) || parameters.SignedEndorsing.Count != 0)
1414
if ((parameters.SignedEncrypted.Count == 1) && (parameters.
Endorsing
.Count == 0))
1420
else if ((parameters.
Endorsing
.Count == 1) && (parameters.SignedEncrypted.Count == 0))
1422
issuedTokenParameters = parameters.
Endorsing
[0] as IssuedSecurityTokenParameters;
1457
if (parameters.Signed.Count != 0 || parameters.SignedEncrypted.Count != 1 || parameters.
Endorsing
.Count != 0 || parameters.SignedEndorsing.Count != 0)
1494
if (parameters.Signed.Count != 0 || parameters.SignedEncrypted.Count != 1 || parameters.
Endorsing
.Count != 0 || parameters.SignedEndorsing.Count != 0)
1535
result.EndpointSupportingTokenParameters.
Endorsing
.Add(
1557
if (parameters.Signed.Count != 0 || parameters.SignedEncrypted.Count != 0 || parameters.
Endorsing
.Count != 1 || parameters.SignedEndorsing.Count != 0)
1560
X509SecurityTokenParameters x509Parameters = parameters.
Endorsing
[0] as X509SecurityTokenParameters;
1575
result.EndpointSupportingTokenParameters.
Endorsing
.Add(
1626
result.EndpointSupportingTokenParameters.
Endorsing
.Add(
1645
if (parameters.Signed.Count != 0 || parameters.SignedEncrypted.Count != 0 || parameters.
Endorsing
.Count != 1 || parameters.SignedEndorsing.Count != 0)
1647
SspiSecurityTokenParameters sspiParameters = parameters.
Endorsing
[0] as SspiSecurityTokenParameters;
1679
result.EndpointSupportingTokenParameters.
Endorsing
.Add(issuedTokenParameters);
1702
if (parameters.SignedEncrypted.Count != 0 || (parameters.Signed.Count == 0 && parameters.
Endorsing
.Count == 0) || parameters.SignedEndorsing.Count != 0)
1704
if ((parameters.Signed.Count == 1) && (parameters.
Endorsing
.Count == 0))
1710
else if ((parameters.
Endorsing
.Count == 1) && (parameters.Signed.Count == 0))
1712
issuedTokenParameters = parameters.
Endorsing
[0] as IssuedSecurityTokenParameters;
1760
primary.EndpointSupportingTokenParameters.
Endorsing
.Add(
1810
if (parameters.Signed.Count != 0 || parameters.SignedEncrypted.Count != 0 || parameters.
Endorsing
.Count != 1 || parameters.SignedEndorsing.Count != 0)
1812
SecureConversationSecurityTokenParameters scParameters = parameters.
Endorsing
[0] as SecureConversationSecurityTokenParameters;
2205
binding.EndpointSupportingTokenParameters.
Endorsing
,
2209
binding.OptionalEndpointSupportingTokenParameters.
Endorsing
,
2271
binding.EndpointSupportingTokenParameters.
Endorsing
,
2275
binding.OptionalEndpointSupportingTokenParameters.
Endorsing
,
2296
if (r.
Endorsing
.Count > 0 || r.SignedEndorsing.Count > 0)
2315
binding.EndpointSupportingTokenParameters.
Endorsing
,
2319
binding.OptionalEndpointSupportingTokenParameters.
Endorsing
,
2435
requirements == null ? null : requirements.
Endorsing
,
2439
optionalRequirements == null ? null : optionalRequirements.
Endorsing
,
System\ServiceModel\Channels\SecurityBindingElementImporter.cs (6)
65
if (requirements.
Endorsing
.Count > 0
79
if (optionalRequirements.
Endorsing
.Count > 0
483
requirements.
Endorsing
,
487
optionalRequirements.
Endorsing
,
614
if (binding.EndpointSupportingTokenParameters.
Endorsing
.Count > 0
624
if (r.
Endorsing
.Count > 0
System\ServiceModel\Channels\TransportSecurityBindingElement.cs (16)
45
if (this.EndpointSupportingTokenParameters.
Endorsing
.Count > 0)
46
scParameters = this.EndpointSupportingTokenParameters.
Endorsing
[0] as SecureConversationSecurityTokenParameters;
90
if (this.EndpointSupportingTokenParameters.
Endorsing
.Count > 0)
92
scParameters = this.EndpointSupportingTokenParameters.
Endorsing
[0] as SecureConversationSecurityTokenParameters;
118
this.EndpointSupportingTokenParameters.
Endorsing
.RemoveAt(0);
125
this.EndpointSupportingTokenParameters.
Endorsing
.Insert(0, scParameters);
143
this.EndpointSupportingTokenParameters.
Endorsing
.RemoveAt(0);
149
protocolFactory.SecurityBindingElement.EndpointSupportingTokenParameters.
Endorsing
.Insert(0, acceleratedTokenParameters);
153
this.EndpointSupportingTokenParameters.
Endorsing
.Insert(0, scParameters);
178
if (this.EndpointSupportingTokenParameters.
Endorsing
.Count > 0)
179
scParameters = this.EndpointSupportingTokenParameters.
Endorsing
[0] as SecureConversationSecurityTokenParameters;
205
this.EndpointSupportingTokenParameters.
Endorsing
.RemoveAt(0);
212
this.EndpointSupportingTokenParameters.
Endorsing
.Insert(0, scParameters);
239
this.EndpointSupportingTokenParameters.
Endorsing
.RemoveAt(0);
245
protocolFactory.SecurityBindingElement.EndpointSupportingTokenParameters.
Endorsing
.Insert(0, acceleratedTokenParameters);
249
this.EndpointSupportingTokenParameters.
Endorsing
.Insert(0, scParameters);
System\ServiceModel\ComIntegration\SecurityCookieModeValidator.cs (1)
63
foreach (SecurityTokenParameters p in sbe.EndpointSupportingTokenParameters.
Endorsing
)
System\ServiceModel\Configuration\SecurityElementBase.cs (14)
228
if (tsbe.EndpointSupportingTokenParameters.
Endorsing
.Count == 1)
230
SecureConversationSecurityTokenParameters scParameters = tsbe.EndpointSupportingTokenParameters.
Endorsing
[0] as SecureConversationSecurityTokenParameters;
483
if (!AreTokenParameterCollectionsMatching(b1.EndpointSupportingTokenParameters.
Endorsing
, b2.EndpointSupportingTokenParameters.
Endorsing
, exactMessageSecurityVersion))
505
if (!AreTokenParameterCollectionsMatching(operation1.Value.
Endorsing
, stp2.
Endorsing
, exactMessageSecurityVersion))
606
if (sbe.EndpointSupportingTokenParameters.
Endorsing
.Count > 0 &&
607
sbe.EndpointSupportingTokenParameters.
Endorsing
[0] is IssuedSecurityTokenParameters)
609
this.templateKeyType = ((IssuedSecurityTokenParameters)sbe.EndpointSupportingTokenParameters.
Endorsing
[0]).KeyType;
662
if (sbe.EndpointSupportingTokenParameters.
Endorsing
.Count == 1)
664
this.InitializeNestedTokenParameterSettings(sbe.EndpointSupportingTokenParameters.
Endorsing
[0], initializeNestedBindings);
677
foreach (SecurityTokenParameters t in sbe.EndpointSupportingTokenParameters.
Endorsing
)
770
if ( DoesX509TokenParametersContainClauseTypeofIssuerSerial( sbe.EndpointSupportingTokenParameters.
Endorsing
) )
782
if ( DoesX509TokenParametersContainClauseTypeofIssuerSerial( sbe.OptionalEndpointSupportingTokenParameters.
Endorsing
) )
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (1)
600
foreach (SecurityTokenParameters tokenParam in sbe.EndpointSupportingTokenParameters.
Endorsing
)
System\ServiceModel\Security\InfoCardHelper.cs (2)
833
foreach (SecurityTokenParameters stp in this.sbe.EndpointSupportingTokenParameters.
Endorsing
)
842
foreach (SecurityTokenParameters stp in str.
Endorsing
)
System\ServiceModel\Security\SecurityProtocol.cs (3)
215
for (int i = 0; i < supportingTokenParameters.
Endorsing
.Count; ++i)
217
SecurityTokenRequirement requirement = this.CreateInitiatorSecurityTokenRequirement(supportingTokenParameters.
Endorsing
[i], SecurityTokenAttachmentMode.Endorsing);
229
SupportingTokenProviderSpecification providerSpec = new SupportingTokenProviderSpecification(provider, SecurityTokenAttachmentMode.Endorsing, supportingTokenParameters.
Endorsing
[i]);
System\ServiceModel\Security\SecurityProtocolFactory.cs (3)
909
for (int i = 0; i < supportingTokenParameters.
Endorsing
.Count; ++i)
911
SecurityTokenRequirement requirement = this.CreateRecipientSecurityTokenRequirement(supportingTokenParameters.
Endorsing
[i], SecurityTokenAttachmentMode.Endorsing);
916
SupportingTokenAuthenticatorSpecification authenticatorSpec = new SupportingTokenAuthenticatorSpecification(authenticator, resolver, SecurityTokenAttachmentMode.Endorsing, supportingTokenParameters.
Endorsing
[i], isOptional);
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (1)
1124
renewSupportingTokenParameters.
Endorsing
.Add(sctParameters);
System\ServiceModel\Security\SecurityTokenParametersEnumerable.cs (2)
44
foreach (SecurityTokenParameters stp in this.sbe.EndpointSupportingTokenParameters.
Endorsing
)
59
foreach (SecurityTokenParameters stp in str.
Endorsing
)
System\ServiceModel\Security\SecurityUtils.cs (1)
1207
if (AreSecurityTokenParametersSuitableForChannelBinding(securityBindingElement.EndpointSupportingTokenParameters.
Endorsing
))