65 references to SignedEncrypted
System.ServiceModel (65)
System\ServiceModel\Channels\SecurityBindingElement.cs (35)
332
this.GetSupportingTokensCapabilities(requirements.
SignedEncrypted
, out tmpSupportsClientAuth, out tmpSupportsWindowsIdentity);
462
for (int i = 0; i < supportingParameters.
SignedEncrypted
.Count; ++i)
464
SetIssuerBindingContextIfRequired(supportingParameters.
SignedEncrypted
[i], issuerBindingContext);
1057
if (parameters.Signed.Count != 0 || parameters.
SignedEncrypted
.Count != 0 || parameters.Endorsing.Count != 1 || parameters.SignedEndorsing.Count != 0)
1160
result.EndpointSupportingTokenParameters.
SignedEncrypted
.Add(
1181
if (parameters.Signed.Count != 0 || parameters.
SignedEncrypted
.Count != 1 || parameters.Endorsing.Count != 0 || parameters.SignedEndorsing.Count != 0)
1184
UserNameSecurityTokenParameters userNameParameters = parameters.
SignedEncrypted
[0] as UserNameSecurityTokenParameters;
1306
result.EndpointSupportingTokenParameters.
SignedEncrypted
.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))
1341
issuedTokenParameters = parameters.
SignedEncrypted
[0] as IssuedSecurityTokenParameters;
1345
else if ((parameters.Endorsing.Count == 1) && (parameters.
SignedEncrypted
.Count == 0))
1378
result.EndpointSupportingTokenParameters.
SignedEncrypted
.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))
1416
issuedTokenParameters = parameters.
SignedEncrypted
[0] as IssuedSecurityTokenParameters;
1420
else if ((parameters.Endorsing.Count == 1) && (parameters.
SignedEncrypted
.Count == 0))
1440
result.EndpointSupportingTokenParameters.
SignedEncrypted
.Add(
1457
if (parameters.Signed.Count != 0 || parameters.
SignedEncrypted
.Count != 1 || parameters.Endorsing.Count != 0 || parameters.SignedEndorsing.Count != 0)
1460
if (!(parameters.
SignedEncrypted
[0] is UserNameSecurityTokenParameters))
1475
result.EndpointSupportingTokenParameters.
SignedEncrypted
.Add(
1494
if (parameters.Signed.Count != 0 || parameters.
SignedEncrypted
.Count != 1 || parameters.Endorsing.Count != 0 || parameters.SignedEndorsing.Count != 0)
1497
UserNameSecurityTokenParameters userNameParameters = parameters.
SignedEncrypted
[0] as UserNameSecurityTokenParameters;
1557
if (parameters.Signed.Count != 0 || parameters.
SignedEncrypted
.Count != 0 || parameters.Endorsing.Count != 1 || parameters.SignedEndorsing.Count != 0)
1645
if (parameters.Signed.Count != 0 || parameters.
SignedEncrypted
.Count != 0 || parameters.Endorsing.Count != 1 || parameters.SignedEndorsing.Count != 0)
1702
if (parameters.
SignedEncrypted
.Count != 0 || (parameters.Signed.Count == 0 && parameters.Endorsing.Count == 0) || parameters.SignedEndorsing.Count != 0)
1810
if (parameters.Signed.Count != 0 || parameters.
SignedEncrypted
.Count != 0 || parameters.Endorsing.Count != 1 || parameters.SignedEndorsing.Count != 0)
2204
binding.EndpointSupportingTokenParameters.
SignedEncrypted
,
2208
binding.OptionalEndpointSupportingTokenParameters.
SignedEncrypted
,
2270
binding.EndpointSupportingTokenParameters.
SignedEncrypted
,
2274
binding.OptionalEndpointSupportingTokenParameters.
SignedEncrypted
,
2314
binding.EndpointSupportingTokenParameters.
SignedEncrypted
,
2318
binding.OptionalEndpointSupportingTokenParameters.
SignedEncrypted
,
2434
requirements == null ? null : requirements.
SignedEncrypted
,
2438
optionalRequirements == null ? null : optionalRequirements.
SignedEncrypted
,
System\ServiceModel\Channels\SecurityBindingElementImporter.cs (6)
67
|| requirements.
SignedEncrypted
.Count > 0
81
|| optionalRequirements.
SignedEncrypted
.Count > 0
482
requirements.
SignedEncrypted
,
486
optionalRequirements.
SignedEncrypted
,
616
|| binding.EndpointSupportingTokenParameters.
SignedEncrypted
.Count > 0
626
|| r.
SignedEncrypted
.Count > 0
System\ServiceModel\Configuration\SecurityElementBase.cs (11)
486
if (!AreTokenParameterCollectionsMatching(b1.EndpointSupportingTokenParameters.
SignedEncrypted
, b2.EndpointSupportingTokenParameters.
SignedEncrypted
, exactMessageSecurityVersion))
508
if (!AreTokenParameterCollectionsMatching(operation1.Value.
SignedEncrypted
, stp2.
SignedEncrypted
, exactMessageSecurityVersion))
616
else if (sbe.EndpointSupportingTokenParameters.
SignedEncrypted
.Count > 0 &&
617
sbe.EndpointSupportingTokenParameters.
SignedEncrypted
[0] is IssuedSecurityTokenParameters)
619
this.templateKeyType = ((IssuedSecurityTokenParameters)sbe.EndpointSupportingTokenParameters.
SignedEncrypted
[0]).KeyType;
666
else if (sbe.EndpointSupportingTokenParameters.
SignedEncrypted
.Count == 1)
668
this.InitializeNestedTokenParameterSettings(sbe.EndpointSupportingTokenParameters.
SignedEncrypted
[0], initializeNestedBindings);
776
if ( DoesX509TokenParametersContainClauseTypeofIssuerSerial( sbe.EndpointSupportingTokenParameters.
SignedEncrypted
) )
788
if ( DoesX509TokenParametersContainClauseTypeofIssuerSerial( sbe.OptionalEndpointSupportingTokenParameters.
SignedEncrypted
) )
System\ServiceModel\Security\SecurityProtocol.cs (3)
265
for (int i = 0; i < supportingTokenParameters.
SignedEncrypted
.Count; ++i)
267
SecurityTokenRequirement requirement = this.CreateInitiatorSecurityTokenRequirement(supportingTokenParameters.
SignedEncrypted
[i], SecurityTokenAttachmentMode.SignedEncrypted);
279
SupportingTokenProviderSpecification providerSpec = new SupportingTokenProviderSpecification(provider, SecurityTokenAttachmentMode.SignedEncrypted, supportingTokenParameters.
SignedEncrypted
[i]);
System\ServiceModel\Security\SecurityProtocolFactory.cs (3)
945
for (int i = 0; i < supportingTokenParameters.
SignedEncrypted
.Count; ++i)
947
SecurityTokenRequirement requirement = this.CreateRecipientSecurityTokenRequirement(supportingTokenParameters.
SignedEncrypted
[i], SecurityTokenAttachmentMode.SignedEncrypted);
952
SupportingTokenAuthenticatorSpecification authenticatorSpec = new SupportingTokenAuthenticatorSpecification(authenticator, resolver, SecurityTokenAttachmentMode.SignedEncrypted, supportingTokenParameters.
SignedEncrypted
[i], isOptional);
System\ServiceModel\Security\SecurityTokenParametersEnumerable.cs (2)
47
foreach (SecurityTokenParameters stp in this.sbe.EndpointSupportingTokenParameters.
SignedEncrypted
)
62
foreach (SecurityTokenParameters stp in str.
SignedEncrypted
)
System\ServiceModel\Security\SecurityUtils.cs (1)
1217
if (AreSecurityTokenParametersSuitableForChannelBinding(securityBindingElement.EndpointSupportingTokenParameters.
SignedEncrypted
))
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)