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