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