56 references to UnifiedSecurityMode
dotnet-svcutil-lib (56)
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpBinding.cs (1)
175UnifiedSecurityMode mode;
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpSecurity.cs (5)
105internal static bool TryCreate(SecurityBindingElement sbe, UnifiedSecurityMode mode, HttpTransportSecurity transportSecurity, out BasicHttpSecurity security) 111mode &= UnifiedSecurityMode.Message | UnifiedSecurityMode.TransportWithMessageCredential; 120mode &= ~(UnifiedSecurityMode.Message | UnifiedSecurityMode.TransportWithMessageCredential);
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpSecurityMode.cs (6)
27internal static BasicHttpSecurityMode ToSecurityMode(UnifiedSecurityMode value) 31case UnifiedSecurityMode.None: 33case UnifiedSecurityMode.Transport: 35case UnifiedSecurityMode.Message: 37case UnifiedSecurityMode.TransportWithMessageCredential: 39case UnifiedSecurityMode.TransportCredentialOnly:
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpsSecurityMode.cs (3)
24internal static BasicHttpsSecurityMode ToSecurityMode(UnifiedSecurityMode value) 28case UnifiedSecurityMode.Transport: 30case UnifiedSecurityMode.TransportWithMessageCredential:
FrameworkFork\System.ServiceModel\System\ServiceModel\HttpBindingBase.cs (8)
214internal static bool GetSecurityModeFromTransport(HttpTransportBindingElement http, HttpTransportSecurity transportSecurity, out UnifiedSecurityMode mode) 216mode = UnifiedSecurityMode.None; 226mode = UnifiedSecurityMode.Transport | UnifiedSecurityMode.TransportWithMessageCredential; 231mode = UnifiedSecurityMode.Message | UnifiedSecurityMode.None; 239mode = UnifiedSecurityMode.TransportCredentialOnly; 245internal static bool TryCreateSecurity(SecurityBindingElement securityElement, UnifiedSecurityMode mode, HttpTransportSecurity transportSecurity, out BasicHttpSecurity security)
FrameworkFork\System.ServiceModel\System\ServiceModel\NetHttpBinding.cs (1)
219UnifiedSecurityMode mode;
FrameworkFork\System.ServiceModel\System\ServiceModel\NetTcpBinding.cs (7)
367UnifiedSecurityMode mode = GetModeFromTransportSecurity(transportSecurity); 390private static UnifiedSecurityMode GetModeFromTransportSecurity(BindingElement transport) 416private static bool TryCreateSecurity(SecurityBindingElement sbe, UnifiedSecurityMode mode, bool isReliableSession, BindingElement transportSecurity, TcpTransportSecurity tcpTransportSecurity, out NetTcpSecurity security) 419mode &= UnifiedSecurityMode.Message | UnifiedSecurityMode.TransportWithMessageCredential; 421mode &= ~(UnifiedSecurityMode.Message | UnifiedSecurityMode.TransportWithMessageCredential);
FrameworkFork\System.ServiceModel\System\ServiceModel\NetTcpSecurity.cs (5)
82internal static UnifiedSecurityMode GetModeFromTransportSecurity(BindingElement transport) 86return UnifiedSecurityMode.None | UnifiedSecurityMode.Message; 90return UnifiedSecurityMode.TransportWithMessageCredential | UnifiedSecurityMode.Transport;
FrameworkFork\System.ServiceModel\System\ServiceModel\SecurityMode.cs (5)
25public static SecurityMode ToSecurityMode(UnifiedSecurityMode value) 29case UnifiedSecurityMode.None: 31case UnifiedSecurityMode.Transport: 33case UnifiedSecurityMode.Message: 35case UnifiedSecurityMode.TransportWithMessageCredential:
FrameworkFork\System.ServiceModel\System\ServiceModel\WS2007HttpBinding.cs (2)
73UnifiedSecurityMode mode; 117private static bool TryCreateSecurity(SecurityBindingElement sbe, UnifiedSecurityMode mode, HttpTransportSecurity transportSecurity, bool isReliableSession, out WSHttpSecurity security)
FrameworkFork\System.ServiceModel\System\ServiceModel\WSHttpBinding.cs (8)
109UnifiedSecurityMode mode; 166internal static bool GetSecurityModeFromTransport(TransportBindingElement transport, HttpTransportSecurity transportSecurity, out UnifiedSecurityMode mode) 168mode = UnifiedSecurityMode.None; 171mode = UnifiedSecurityMode.Transport | UnifiedSecurityMode.TransportWithMessageCredential; 176mode = UnifiedSecurityMode.None | UnifiedSecurityMode.Message; 206private static bool TryCreateSecurity(SecurityBindingElement sbe, UnifiedSecurityMode mode, HttpTransportSecurity transportSecurity, bool isReliableSession, out WSHttpSecurity security)
FrameworkFork\System.ServiceModel\System\ServiceModel\WSHttpSecurity.cs (5)
106internal static bool TryCreate(SecurityBindingElement sbe, UnifiedSecurityMode mode, HttpTransportSecurity transportSecurity, bool isReliableSessionEnabled, out WSHttpSecurity security) 113mode &= UnifiedSecurityMode.Message | UnifiedSecurityMode.TransportWithMessageCredential; 123mode &= ~(UnifiedSecurityMode.Message | UnifiedSecurityMode.TransportWithMessageCredential);