75 references to UnifiedSecurityMode
System.ServiceModel (75)
System\ServiceModel\BasicHttpBinding.cs (1)
207UnifiedSecurityMode mode;
System\ServiceModel\BasicHttpSecurity.cs (5)
107internal static bool TryCreate(SecurityBindingElement sbe, UnifiedSecurityMode mode, HttpTransportSecurity transportSecurity, out BasicHttpSecurity security) 113mode &= UnifiedSecurityMode.Message | UnifiedSecurityMode.TransportWithMessageCredential; 122mode &= ~(UnifiedSecurityMode.Message | UnifiedSecurityMode.TransportWithMessageCredential);
System\ServiceModel\BasicHttpSecurityMode.cs (6)
28internal static BasicHttpSecurityMode ToSecurityMode(UnifiedSecurityMode value) 32case UnifiedSecurityMode.None: 34case UnifiedSecurityMode.Transport: 36case UnifiedSecurityMode.Message: 38case UnifiedSecurityMode.TransportWithMessageCredential: 40case UnifiedSecurityMode.TransportCredentialOnly:
System\ServiceModel\BasicHttpsSecurityMode.cs (3)
24internal static BasicHttpsSecurityMode ToSecurityMode(UnifiedSecurityMode value) 28case UnifiedSecurityMode.Transport: 30case UnifiedSecurityMode.TransportWithMessageCredential:
System\ServiceModel\HttpBindingBase.cs (8)
269internal static bool GetSecurityModeFromTransport(HttpTransportBindingElement http, HttpTransportSecurity transportSecurity, out UnifiedSecurityMode mode) 271mode = UnifiedSecurityMode.None; 281mode = UnifiedSecurityMode.Transport | UnifiedSecurityMode.TransportWithMessageCredential; 286mode = UnifiedSecurityMode.Message | UnifiedSecurityMode.None; 294mode = UnifiedSecurityMode.TransportCredentialOnly; 300internal static bool TryCreateSecurity(SecurityBindingElement securityElement, UnifiedSecurityMode mode, HttpTransportSecurity transportSecurity, out BasicHttpSecurity security)
System\ServiceModel\NetHttpBinding.cs (1)
232UnifiedSecurityMode mode;
System\ServiceModel\NetMsmqBinding.cs (8)
267UnifiedSecurityMode mode; 299static bool TryCreateSecurity(SecurityBindingElement sbe, UnifiedSecurityMode mode, out NetMsmqSecurity security) 302mode &= UnifiedSecurityMode.Message | UnifiedSecurityMode.Both; 304mode &= ~(UnifiedSecurityMode.Message | UnifiedSecurityMode.Both); 322static bool IsValidTransport(MsmqTransportBindingElement msmq, out UnifiedSecurityMode mode) 324mode = (UnifiedSecurityMode)0;
System\ServiceModel\NetMsmqSecurity.cs (6)
82internal static bool IsConfiguredTransportSecurity(MsmqTransportBindingElement msmq, out UnifiedSecurityMode mode) 86mode = UnifiedSecurityMode.None; 91mode = UnifiedSecurityMode.Transport | UnifiedSecurityMode.Both; 95mode = UnifiedSecurityMode.None | UnifiedSecurityMode.Message;
System\ServiceModel\NetMsmqSecurityMode.cs (5)
25internal static NetMsmqSecurityMode ToSecurityMode(UnifiedSecurityMode value) 29case UnifiedSecurityMode.None: 31case UnifiedSecurityMode.Transport: 33case UnifiedSecurityMode.Message: 35case UnifiedSecurityMode.Both:
System\ServiceModel\NetTcpBinding.cs (7)
396UnifiedSecurityMode mode = GetModeFromTransportSecurity(transportSecurity); 418static UnifiedSecurityMode GetModeFromTransportSecurity(BindingElement transport) 440static bool TryCreateSecurity(SecurityBindingElement sbe, UnifiedSecurityMode mode, bool isReliableSession, BindingElement transportSecurity, TcpTransportSecurity tcpTransportSecurity, out NetTcpSecurity security) 443mode &= UnifiedSecurityMode.Message | UnifiedSecurityMode.TransportWithMessageCredential; 445mode &= ~(UnifiedSecurityMode.Message | UnifiedSecurityMode.TransportWithMessageCredential);
System\ServiceModel\NetTcpSecurity.cs (5)
76internal static UnifiedSecurityMode GetModeFromTransportSecurity(BindingElement transport) 80return UnifiedSecurityMode.None | UnifiedSecurityMode.Message; 84return UnifiedSecurityMode.TransportWithMessageCredential | UnifiedSecurityMode.Transport;
System\ServiceModel\SecurityMode.cs (5)
24internal static SecurityMode ToSecurityMode(UnifiedSecurityMode value) 28case UnifiedSecurityMode.None: 30case UnifiedSecurityMode.Transport: 32case UnifiedSecurityMode.Message: 34case UnifiedSecurityMode.TransportWithMessageCredential:
System\ServiceModel\WS2007HttpBinding.cs (2)
93UnifiedSecurityMode mode; 137static bool TryCreateSecurity(SecurityBindingElement sbe, UnifiedSecurityMode mode, HttpTransportSecurity transportSecurity, bool isReliableSession, out WSHttpSecurity security)
System\ServiceModel\WSHttpBinding.cs (8)
128UnifiedSecurityMode mode; 185internal static bool GetSecurityModeFromTransport(TransportBindingElement transport, HttpTransportSecurity transportSecurity, out UnifiedSecurityMode mode) 187mode = UnifiedSecurityMode.None; 190mode = UnifiedSecurityMode.Transport | UnifiedSecurityMode.TransportWithMessageCredential; 195mode = UnifiedSecurityMode.None | UnifiedSecurityMode.Message; 225static bool TryCreateSecurity(SecurityBindingElement sbe, UnifiedSecurityMode mode, HttpTransportSecurity transportSecurity, bool isReliableSession, out WSHttpSecurity security)
System\ServiceModel\WSHttpSecurity.cs (5)
105internal static bool TryCreate(SecurityBindingElement sbe, UnifiedSecurityMode mode, HttpTransportSecurity transportSecurity, bool isReliableSessionEnabled, out WSHttpSecurity security) 112mode &= UnifiedSecurityMode.Message | UnifiedSecurityMode.TransportWithMessageCredential; 122mode &= ~(UnifiedSecurityMode.Message | UnifiedSecurityMode.TransportWithMessageCredential);