9 references to ComputeProtectionRequirements
System.ServiceModel (9)
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (2)
238
forward.ProtectionRequirements.Add(SecurityBindingElement.
ComputeProtectionRequirements
(this, context.BindingParameters, context.Binding.Elements, isForService));
335
reverse.ProtectionRequirements.Add(SecurityBindingElement.
ComputeProtectionRequirements
(this, context.BindingParameters, context.Binding.Elements, isForService));
System\ServiceModel\Channels\SecurityBindingElement.cs (1)
2334
ChannelProtectionRequirements protectionRequirements = SecurityBindingElement.
ComputeProtectionRequirements
(security, bindingParameters, policyContext.BindingElements, true);
System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (5)
177
protocolFactory.ProtectionRequirements.Add(SecurityBindingElement.
ComputeProtectionRequirements
(this, context.BindingParameters, context.Binding.Elements, isForService));
231
sessionFactory.ProtectionRequirements.Add(SecurityBindingElement.
ComputeProtectionRequirements
(this, context.BindingParameters, context.Binding.Elements, false));
259
protocolFactory.ProtectionRequirements.Add(SecurityBindingElement.
ComputeProtectionRequirements
(this, context.BindingParameters, context.Binding.Elements, false));
321
sessionFactory.ProtectionRequirements.Add(SecurityBindingElement.
ComputeProtectionRequirements
(this, context.BindingParameters, context.Binding.Elements, true));
358
protocolFactory.ProtectionRequirements.Add(SecurityBindingElement.
ComputeProtectionRequirements
(this, context.BindingParameters, context.Binding.Elements, true));
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
1353
ChannelProtectionRequirements protectionRequirements = SecurityBindingElement.
ComputeProtectionRequirements
(security, bindingParameters, policyContext.BindingElements, true);