System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (5)
238forward.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, isForService));
306base.ConfigureProtocolFactory(forward, credentialsManager, isForService, issuerBindingContext, context.Binding);
335reverse.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, isForService));
348base.ConfigureProtocolFactory(reverse, credentialsManager, !isForService, issuerBindingContext, context.Binding);
427MessageEncodingBindingElement encoding = context.Binding.Elements.Find<MessageEncodingBindingElement>();
System\ServiceModel\Channels\ReliableSessionBindingElement.cs (8)
323this, context.BuildInnerChannelFactory<IRequestSessionChannel>(), context.Binding);
329this, context.BuildInnerChannelFactory<IRequestChannel>(), context.Binding);
335this, context.BuildInnerChannelFactory<IDuplexSessionChannel>(), context.Binding);
341this, context.BuildInnerChannelFactory<IDuplexChannel>(), context.Binding);
350this, context.BuildInnerChannelFactory<IDuplexSessionChannel>(), context.Binding);
356this, context.BuildInnerChannelFactory<IDuplexChannel>(), context.Binding);
365this, context.BuildInnerChannelFactory<IRequestSessionChannel>(), context.Binding);
371this, context.BuildInnerChannelFactory<IRequestChannel>(), context.Binding);
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (6)
71return new SslStreamSecurityUpgradeProvider(context.Binding, tokenManager, bindingElement.RequireClientCertificate, context.Binding.Scheme, bindingElement.IdentityVerifier, bindingElement.SslProtocols);
92serverCertRequirement.TransportScheme = context.Binding.Scheme;
102TransportSecurityHelpers.GetCertificateTokenAuthenticator(tokenManager, context.Binding.Scheme, listenUri);
104return new SslStreamSecurityUpgradeProvider(context.Binding, tokenProvider, bindingElement.RequireClientCertificate,
105certificateAuthenticator, context.Binding.Scheme, bindingElement.IdentityVerifier, bindingElement.SslProtocols);
System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (11)
177protocolFactory.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, isForService));
178base.ConfigureProtocolFactory(protocolFactory, credentialsManager, isForService, issuerBindingContext, context.Binding);
231sessionFactory.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, false));
232base.ConfigureProtocolFactory(sessionFactory, credentialsManager, false, issuerBindingContext, context.Binding);
259protocolFactory.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, false));
260base.ConfigureProtocolFactory(protocolFactory, credentialsManager, false, issuerBindingContext, context.Binding);
321sessionFactory.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, true));
322base.ConfigureProtocolFactory(sessionFactory, credentialsManager, true, issuerBindingContext, context.Binding);
358protocolFactory.ProtectionRequirements.Add(SecurityBindingElement.ComputeProtectionRequirements(this, context.BindingParameters, context.Binding.Elements, true));
360base.ConfigureProtocolFactory(protocolFactory, credentialsManager, true, issuerBindingContext, context.Binding);
386MessageEncodingBindingElement encoding = context.Binding.Elements.Find<MessageEncodingBindingElement>();
System\ServiceModel\Channels\TransportSecurityBindingElement.cs (6)
74base.ConfigureProtocolFactory(protocolFactory, credentialsManager, isForService, issuerBindingContext, context.Binding);
121base.ConfigureProtocolFactory(sessionFactory, credentialsManager, false, issuerBindingContext, context.Binding);
146base.ConfigureProtocolFactory(protocolFactory, credentialsManager, false, issuerBindingContext, context.Binding);
208base.ConfigureProtocolFactory(sessionFactory, credentialsManager, true, issuerBindingContext, context.Binding);
242base.ConfigureProtocolFactory(protocolFactory, credentialsManager, true, issuerBindingContext, context.Binding);
276MessageEncodingBindingElement encoding = context.Binding.Elements.Find<MessageEncodingBindingElement>();