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