59 references to BasicHttpSecurityMode
dotnet-svcutil-lib (59)
CodeDomFixup\EndpointSelector.cs (2)
81
if (netHttpBinding.Security.Mode ==
BasicHttpSecurityMode
.Message)
89
if (basicHttpBinding != null && basicHttpBinding.Security.Mode ==
BasicHttpSecurityMode
.Message)
CodeDomFixup\MethodCreationHelper.cs (2)
1939
new CodeTypeReferenceExpression(typeof(
BasicHttpSecurityMode
)),
2046
new CodeTypeReferenceExpression(typeof(
BasicHttpSecurityMode
)),
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpBinding.cs (5)
14
public BasicHttpBinding() : this(
BasicHttpSecurityMode
.None) { }
16
public BasicHttpBinding(
BasicHttpSecurityMode
securityMode)
19
if (securityMode ==
BasicHttpSecurityMode
.Message)
105
if ((BasicHttpSecurity.Mode ==
BasicHttpSecurityMode
.Transport ||
106
BasicHttpSecurity.Mode ==
BasicHttpSecurityMode
.TransportCredentialOnly) &&
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpsBinding.cs (2)
61
if ((BasicHttpSecurity.Mode ==
BasicHttpSecurityMode
.Transport ||
62
BasicHttpSecurity.Mode ==
BasicHttpSecurityMode
.TransportCredentialOnly) &&
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpSecurity.cs (10)
12
internal const
BasicHttpSecurityMode
DefaultMode =
BasicHttpSecurityMode
.None;
13
private
BasicHttpSecurityMode
_mode;
22
private BasicHttpSecurity(
BasicHttpSecurityMode
mode, HttpTransportSecurity transportSecurity, BasicHttpMessageSecurity messageSecurity)
31
public
BasicHttpSecurityMode
Mode
64
if (_mode ==
BasicHttpSecurityMode
.TransportWithMessageCredential)
96
if (_mode ==
BasicHttpSecurityMode
.Message
97
|| _mode ==
BasicHttpSecurityMode
.TransportWithMessageCredential)
99
return this._messageSecurity.CreateMessageSecurity(this.Mode ==
BasicHttpSecurityMode
.TransportWithMessageCredential);
122
BasicHttpSecurityMode
basicHttpSecurityMode = BasicHttpSecurityModeHelper.ToSecurityMode(mode);
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpSecurityMode.cs (13)
18
internal static bool IsDefined(
BasicHttpSecurityMode
value)
20
return (value ==
BasicHttpSecurityMode
.None ||
21
value ==
BasicHttpSecurityMode
.Transport ||
22
value ==
BasicHttpSecurityMode
.Message ||
23
value ==
BasicHttpSecurityMode
.TransportWithMessageCredential ||
24
value ==
BasicHttpSecurityMode
.TransportCredentialOnly);
27
internal static
BasicHttpSecurityMode
ToSecurityMode(UnifiedSecurityMode value)
32
return
BasicHttpSecurityMode
.None;
34
return
BasicHttpSecurityMode
.Transport;
36
return
BasicHttpSecurityMode
.Message;
38
return
BasicHttpSecurityMode
.TransportWithMessageCredential;
40
return
BasicHttpSecurityMode
.TransportCredentialOnly;
42
return (
BasicHttpSecurityMode
)value;
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpsSecurity.cs (1)
27
BasicHttpSecurityMode
basicHttpSecurityMode = BasicHttpsSecurityModeHelper.ToBasicHttpSecurityMode(mode);
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpsSecurityMode.cs (8)
37
internal static BasicHttpsSecurityMode ToBasicHttpsSecurityMode(
BasicHttpSecurityMode
mode)
39
Fx.Assert(mode ==
BasicHttpSecurityMode
.Transport || mode ==
BasicHttpSecurityMode
.TransportWithMessageCredential, string.Format(CultureInfo.InvariantCulture, "Invalid BasicHttpSecurityMode value: {0}.", mode.ToString()));
40
BasicHttpsSecurityMode basicHttpsSecurityMode = (mode ==
BasicHttpSecurityMode
.Transport) ? BasicHttpsSecurityMode.Transport : BasicHttpsSecurityMode.TransportWithMessageCredential;
45
internal static
BasicHttpSecurityMode
ToBasicHttpSecurityMode(BasicHttpsSecurityMode mode)
52
BasicHttpSecurityMode
basicHttpSecurityMode = (mode == BasicHttpsSecurityMode.Transport) ?
BasicHttpSecurityMode
.Transport :
BasicHttpSecurityMode
.TransportWithMessageCredential;
FrameworkFork\System.ServiceModel\System\ServiceModel\HttpBindingBase.cs (9)
255
if (basicHttpSecurity.Mode ==
BasicHttpSecurityMode
.Transport || basicHttpSecurity.Mode ==
BasicHttpSecurityMode
.TransportWithMessageCredential)
260
else if (basicHttpSecurity.Mode ==
BasicHttpSecurityMode
.TransportCredentialOnly)
313
BasicHttpSecurityMode
mode = security.Mode;
314
if (mode ==
BasicHttpSecurityMode
.None)
318
else if (mode ==
BasicHttpSecurityMode
.Message)
325
(mode ==
BasicHttpSecurityMode
.Transport) || (mode ==
BasicHttpSecurityMode
.TransportCredentialOnly) || (mode ==
BasicHttpSecurityMode
.TransportWithMessageCredential),
FrameworkFork\System.ServiceModel\System\ServiceModel\NetHttpBinding.cs (5)
23
: this(
BasicHttpSecurityMode
.None)
27
public NetHttpBinding(
BasicHttpSecurityMode
securityMode)
34
public NetHttpBinding(
BasicHttpSecurityMode
securityMode, bool reliableSessionEnabled)
114
if ((this.BasicHttpSecurity.Mode ==
BasicHttpSecurityMode
.Transport ||
115
this.BasicHttpSecurity.Mode ==
BasicHttpSecurityMode
.TransportCredentialOnly) &&
FrameworkFork\System.ServiceModel\System\ServiceModel\NetHttpsBinding.cs (2)
71
if ((BasicHttpSecurity.Mode ==
BasicHttpSecurityMode
.Transport ||
72
BasicHttpSecurity.Mode ==
BasicHttpSecurityMode
.TransportCredentialOnly) &&