3 instantiations of TcpTransportSecurity
System.ServiceModel (3)
System\ServiceModel\NetTcpBinding.cs (1)
395TcpTransportSecurity tcpTransportSecurity = new TcpTransportSecurity();
System\ServiceModel\NetTcpSecurity.cs (2)
20: this(DefaultMode, new TcpTransportSecurity(), new MessageSecurityOverTcp()) 29this.transportSecurity = transportSecurity == null ? new TcpTransportSecurity() : transportSecurity;
20 references to TcpTransportSecurity
System.ServiceModel (20)
System\ServiceModel\Configuration\TcpTransportSecurityElement.cs (4)
20[ConfigurationProperty(ConfigurationStrings.ClientCredentialType, DefaultValue = TcpTransportSecurity.DefaultClientCredentialType)] 28[ConfigurationProperty(ConfigurationStrings.ProtectionLevel, DefaultValue = TcpTransportSecurity.DefaultProtectionLevel)] 51internal void ApplyConfiguration(TcpTransportSecurity security) 63internal void InitializeFrom(TcpTransportSecurity security)
System\ServiceModel\NetTcpBinding.cs (4)
316TcpTransportSecurity transport = security.Transport; 395TcpTransportSecurity tcpTransportSecurity = new TcpTransportSecurity(); 423static bool SetTransportSecurity(BindingElement transport, SecurityMode mode, TcpTransportSecurity transportSecurity) 440static bool TryCreateSecurity(SecurityBindingElement sbe, UnifiedSecurityMode mode, bool isReliableSession, BindingElement transportSecurity, TcpTransportSecurity tcpTransportSecurity, out NetTcpSecurity security)
System\ServiceModel\NetTcpSecurity.cs (7)
16TcpTransportSecurity transportSecurity; 24NetTcpSecurity(SecurityMode mode, TcpTransportSecurity transportSecurity, MessageSecurityOverTcp messageSecurity) 47public TcpTransportSecurity Transport 88internal static bool SetTransportSecurity(BindingElement transport, SecurityMode mode, TcpTransportSecurity transportSecurity) 92return TcpTransportSecurity.SetTransportProtectionOnly(transport, transportSecurity); 96return TcpTransportSecurity.SetTransportProtectionAndAuthentication(transport, transportSecurity); 117internal static bool TryCreate(SecurityBindingElement wsSecurity, SecurityMode mode, bool isReliableSessionEnabled, BindingElement transportSecurity, TcpTransportSecurity tcpTransportSecurity, out NetTcpSecurity security)
System\ServiceModel\TcpTransportSecurity.cs (5)
109static bool IsSslBindingElement(BindingElement element, TcpTransportSecurity transportSecurity, out bool requireClientCertificate, out SslProtocols sslProtocols) 127internal static bool SetTransportProtectionOnly(BindingElement transport, TcpTransportSecurity transportSecurity) 148internal static bool SetTransportProtectionAndAuthentication(BindingElement transport, TcpTransportSecurity transportSecurity) 169return this.ClientCredentialType != TcpTransportSecurity.DefaultClientCredentialType 170|| this.ProtectionLevel != TcpTransportSecurity.DefaultProtectionLevel