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