2 writes to _security
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\WSHttpBinding.cs (2)
52
_security
= security == null ? new WSHttpSecurity() : security;
75
_security
= value;
11 references to _security
dotnet-svcutil-lib (11)
FrameworkFork\System.ServiceModel\System\ServiceModel\WSHttpBinding.cs (11)
46
_security
.Mode = securityMode;
68
get { return
_security
; }
81
if ((
_security
.Mode == SecurityMode.Transport) &&
82
_security
.Transport.ClientCredentialType == HttpClientCredentialType.InheritedFromHost)
84
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.HttpClientCredentialTypeInvalid,
_security
.Transport.ClientCredentialType)));
94
if (
_security
.Mode == SecurityMode.Transport)
154
if (
_security
.Mode == SecurityMode.None ||
_security
.Mode == SecurityMode.Message)
156
this.HttpTransport.ExtendedProtectionPolicy =
_security
.Transport.ExtendedProtectionPolicy;
161
_security
.ApplyTransportSecurity(this.HttpsTransport);
202
return
_security
.CreateMessageSecurity(this.ReliableSession.Enabled, s_WSMessageSecurityVersion);