46 references to SignedEncrypted
dotnet-svcutil-lib (46)
CodeDomFixup\EndpointSelector.cs (4)
230
else if (transportSecurityBindingElement.EndpointSupportingTokenParameters.
SignedEncrypted
.Count == 1)
273
bool singleSignedEncryptedParam = transportSecurityBindingElement.EndpointSupportingTokenParameters.
SignedEncrypted
.Count == 1;
300
var userNameParams = transportSecurityBindingElement.EndpointSupportingTokenParameters.
SignedEncrypted
[0] as UserNameSecurityTokenParameters;
322
transportSecurityBindingElement.EndpointSupportingTokenParameters.
SignedEncrypted
[0].GetType().FullName, typeof(UserNameSecurityTokenParameters).FullName));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (6)
66
|| requirements.
SignedEncrypted
.Count > 0
80
|| optionalRequirements.
SignedEncrypted
.Count > 0
481
requirements.
SignedEncrypted
,
485
optionalRequirements.
SignedEncrypted
,
614
|| binding.EndpointSupportingTokenParameters.
SignedEncrypted
.Count > 0
624
|| r.
SignedEncrypted
.Count > 0
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElement.cs (25)
331
this.GetSupportingTokensCapabilities(requirements.
SignedEncrypted
, out tmpSupportsClientAuth, out tmpSupportsWindowsIdentity);
641
if (parameters.Signed.Count != 0 || parameters.
SignedEncrypted
.Count != 0 || parameters.Endorsing.Count != 1 || parameters.SignedEndorsing.Count != 0)
743
result.EndpointSupportingTokenParameters.
SignedEncrypted
.Add(
764
if (parameters.Signed.Count != 0 || parameters.
SignedEncrypted
.Count != 1 || parameters.Endorsing.Count != 0 || parameters.SignedEndorsing.Count != 0)
767
UserNameSecurityTokenParameters userNameParameters = parameters.
SignedEncrypted
[0] as UserNameSecurityTokenParameters;
888
result.EndpointSupportingTokenParameters.
SignedEncrypted
.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))
923
issuedTokenParameters = parameters.
SignedEncrypted
[0] as IssuedSecurityTokenParameters;
927
else if ((parameters.Endorsing.Count == 1) && (parameters.
SignedEncrypted
.Count == 0))
960
result.EndpointSupportingTokenParameters.
SignedEncrypted
.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))
998
issuedTokenParameters = parameters.
SignedEncrypted
[0] as IssuedSecurityTokenParameters;
1002
else if ((parameters.Endorsing.Count == 1) && (parameters.
SignedEncrypted
.Count == 0))
1022
result.EndpointSupportingTokenParameters.
SignedEncrypted
.Add(
1039
if (parameters.Signed.Count != 0 || parameters.
SignedEncrypted
.Count != 1 || parameters.Endorsing.Count != 0 || parameters.SignedEndorsing.Count != 0)
1042
if (!(parameters.
SignedEncrypted
[0] is UserNameSecurityTokenParameters))
1057
result.EndpointSupportingTokenParameters.
SignedEncrypted
.Add(
1076
if (parameters.Signed.Count != 0 || parameters.
SignedEncrypted
.Count != 1 || parameters.Endorsing.Count != 0 || parameters.SignedEndorsing.Count != 0)
1079
UserNameSecurityTokenParameters userNameParameters = parameters.
SignedEncrypted
[0] as UserNameSecurityTokenParameters;
1139
if (parameters.Signed.Count != 0 || parameters.
SignedEncrypted
.Count != 0 || parameters.Endorsing.Count != 1 || parameters.SignedEndorsing.Count != 0)
1227
if (parameters.Signed.Count != 0 || parameters.
SignedEncrypted
.Count != 0 || parameters.Endorsing.Count != 1 || parameters.SignedEndorsing.Count != 0)
1284
if (parameters.
SignedEncrypted
.Count != 0 || (parameters.Signed.Count == 0 && parameters.Endorsing.Count == 0) || parameters.SignedEndorsing.Count != 0)
1392
if (parameters.Signed.Count != 0 || parameters.
SignedEncrypted
.Count != 0 || parameters.Endorsing.Count != 1 || parameters.SignedEndorsing.Count != 0)
FrameworkFork\System.ServiceModel\System\ServiceModel\Configuration\SecurityElementBase.cs (4)
147
if (!AreTokenParameterCollectionsMatching(b1.EndpointSupportingTokenParameters.
SignedEncrypted
, b2.EndpointSupportingTokenParameters.
SignedEncrypted
, exactMessageSecurityVersion))
169
if (!AreTokenParameterCollectionsMatching(operation1.Value.
SignedEncrypted
, stp2.
SignedEncrypted
, exactMessageSecurityVersion))
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityProtocolFactory.cs (3)
915
for (int i = 0; i < supportingTokenParameters.
SignedEncrypted
.Count; ++i)
917
SecurityTokenRequirement requirement = this.CreateRecipientSecurityTokenRequirement(supportingTokenParameters.
SignedEncrypted
[i], SecurityTokenAttachmentMode.SignedEncrypted);
922
SupportingTokenAuthenticatorSpecification authenticatorSpec = new SupportingTokenAuthenticatorSpecification(authenticator, resolver, SecurityTokenAttachmentMode.SignedEncrypted, supportingTokenParameters.
SignedEncrypted
[i], isOptional);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (4)
1331
if (security.EndpointSupportingTokenParameters.
SignedEncrypted
.Count > 0 ||
1332
security.OptionalEndpointSupportingTokenParameters.
SignedEncrypted
.Count > 0)
1338
if (r.
SignedEncrypted
.Count > 0)
1345
if (r.
SignedEncrypted
.Count > 0)