47 references to Endorsing
dotnet-svcutil-lib (47)
CodeDomFixup\EndpointSelector.cs (2)
234
else if (transportSecurityBindingElement.EndpointSupportingTokenParameters.
Endorsing
.Count == 1)
236
SecureConversationSecurityTokenParameters endorsingTokenParams = transportSecurityBindingElement.EndpointSupportingTokenParameters.
Endorsing
[0] as SecureConversationSecurityTokenParameters;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (6)
64
if (requirements.
Endorsing
.Count > 0
78
if (optionalRequirements.
Endorsing
.Count > 0
482
requirements.
Endorsing
,
486
optionalRequirements.
Endorsing
,
612
if (binding.EndpointSupportingTokenParameters.
Endorsing
.Count > 0
622
if (r.
Endorsing
.Count > 0
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElement.cs (32)
323
this.GetSupportingTokensCapabilities(requirements.
Endorsing
, out tmpSupportsClientAuth, out tmpSupportsWindowsIdentity);
570
result.EndpointSupportingTokenParameters.
Endorsing
.Add(
641
if (parameters.Signed.Count != 0 || parameters.SignedEncrypted.Count != 0 || parameters.
Endorsing
.Count != 1 || parameters.SignedEndorsing.Count != 0)
644
x509Parameters = parameters.
Endorsing
[0] as X509SecurityTokenParameters;
764
if (parameters.Signed.Count != 0 || parameters.SignedEncrypted.Count != 1 || parameters.
Endorsing
.Count != 0 || parameters.SignedEndorsing.Count != 0)
893
result.EndpointSupportingTokenParameters.
Endorsing
.Add(issuedTokenParameters);
918
if (parameters.Signed.Count != 0 || (parameters.SignedEncrypted.Count == 0 && parameters.
Endorsing
.Count == 0) || parameters.SignedEndorsing.Count != 0)
921
if ((parameters.SignedEncrypted.Count == 1) && (parameters.
Endorsing
.Count == 0))
927
else if ((parameters.
Endorsing
.Count == 1) && (parameters.SignedEncrypted.Count == 0))
929
issuedTokenParameters = parameters.
Endorsing
[0] as IssuedSecurityTokenParameters;
965
result.EndpointSupportingTokenParameters.
Endorsing
.Add(issuedTokenParameters);
993
if (parameters.Signed.Count != 0 || (parameters.SignedEncrypted.Count == 0 && parameters.
Endorsing
.Count == 0) || parameters.SignedEndorsing.Count != 0)
996
if ((parameters.SignedEncrypted.Count == 1) && (parameters.
Endorsing
.Count == 0))
1002
else if ((parameters.
Endorsing
.Count == 1) && (parameters.SignedEncrypted.Count == 0))
1004
issuedTokenParameters = parameters.
Endorsing
[0] as IssuedSecurityTokenParameters;
1039
if (parameters.Signed.Count != 0 || parameters.SignedEncrypted.Count != 1 || parameters.
Endorsing
.Count != 0 || parameters.SignedEndorsing.Count != 0)
1076
if (parameters.Signed.Count != 0 || parameters.SignedEncrypted.Count != 1 || parameters.
Endorsing
.Count != 0 || parameters.SignedEndorsing.Count != 0)
1117
result.EndpointSupportingTokenParameters.
Endorsing
.Add(
1139
if (parameters.Signed.Count != 0 || parameters.SignedEncrypted.Count != 0 || parameters.
Endorsing
.Count != 1 || parameters.SignedEndorsing.Count != 0)
1142
X509SecurityTokenParameters x509Parameters = parameters.
Endorsing
[0] as X509SecurityTokenParameters;
1157
result.EndpointSupportingTokenParameters.
Endorsing
.Add(
1208
result.EndpointSupportingTokenParameters.
Endorsing
.Add(
1227
if (parameters.Signed.Count != 0 || parameters.SignedEncrypted.Count != 0 || parameters.
Endorsing
.Count != 1 || parameters.SignedEndorsing.Count != 0)
1229
SspiSecurityTokenParameters sspiParameters = parameters.
Endorsing
[0] as SspiSecurityTokenParameters;
1261
result.EndpointSupportingTokenParameters.
Endorsing
.Add(issuedTokenParameters);
1284
if (parameters.SignedEncrypted.Count != 0 || (parameters.Signed.Count == 0 && parameters.
Endorsing
.Count == 0) || parameters.SignedEndorsing.Count != 0)
1286
if ((parameters.Signed.Count == 1) && (parameters.
Endorsing
.Count == 0))
1292
else if ((parameters.
Endorsing
.Count == 1) && (parameters.Signed.Count == 0))
1294
issuedTokenParameters = parameters.
Endorsing
[0] as IssuedSecurityTokenParameters;
1342
primary.EndpointSupportingTokenParameters.
Endorsing
.Add(
1392
if (parameters.Signed.Count != 0 || parameters.SignedEncrypted.Count != 0 || parameters.
Endorsing
.Count != 1 || parameters.SignedEndorsing.Count != 0)
1394
SecureConversationSecurityTokenParameters scParameters = parameters.
Endorsing
[0] as SecureConversationSecurityTokenParameters;
FrameworkFork\System.ServiceModel\System\ServiceModel\Configuration\SecurityElementBase.cs (4)
144
if (!AreTokenParameterCollectionsMatching(b1.EndpointSupportingTokenParameters.
Endorsing
, b2.EndpointSupportingTokenParameters.
Endorsing
, exactMessageSecurityVersion))
166
if (!AreTokenParameterCollectionsMatching(operation1.Value.
Endorsing
, stp2.
Endorsing
, exactMessageSecurityVersion))
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityProtocolFactory.cs (3)
879
for (int i = 0; i < supportingTokenParameters.
Endorsing
.Count; ++i)
881
SecurityTokenRequirement requirement = this.CreateRecipientSecurityTokenRequirement(supportingTokenParameters.
Endorsing
[i], SecurityTokenAttachmentMode.Endorsing);
886
SupportingTokenAuthenticatorSpecification authenticatorSpec = new SupportingTokenAuthenticatorSpecification(authenticator, resolver, SecurityTokenAttachmentMode.Endorsing, supportingTokenParameters.
Endorsing
[i], isOptional);