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