21 writes to MessageSecurityVersion
dotnet-svcutil-lib (21)
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpMessageSecurity.cs (1)
66
result.
MessageSecurityVersion
= version;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElement.cs (12)
578
result.
MessageSecurityVersion
= version;
664
result.
MessageSecurityVersion
= MessageSecurityVersion.WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11;
730
result.
MessageSecurityVersion
= version;
745
result.
MessageSecurityVersion
= MessageSecurityVersion.WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11;
889
result.
MessageSecurityVersion
= MessageSecurityVersion.WSSXDefault;
894
result.
MessageSecurityVersion
= MessageSecurityVersion.Default;
961
result.
MessageSecurityVersion
= MessageSecurityVersion.WSSXDefault;
966
result.
MessageSecurityVersion
= MessageSecurityVersion.Default;
1024
result.
MessageSecurityVersion
= MessageSecurityVersion.WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11;
1123
result.
MessageSecurityVersion
= version;
1257
result.
MessageSecurityVersion
= MessageSecurityVersion.WSSXDefault;
1262
result.
MessageSecurityVersion
= MessageSecurityVersion.Default;
FrameworkFork\System.ServiceModel\System\ServiceModel\FederatedMessageSecurityOverHttp.cs (2)
198
issuedTokenSecurity.
MessageSecurityVersion
= version;
210
result.
MessageSecurityVersion
= version;
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageSecurityOverHttp.cs (2)
193
oneShotSecurity.
MessageSecurityVersion
= version;
194
result.
MessageSecurityVersion
= version;
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageSecurityOverTcp.cs (2)
139
result.
MessageSecurityVersion
= MessageSecurityVersion.WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11;
140
oneShotSecurity.
MessageSecurityVersion
= MessageSecurityVersion.WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11;
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (2)
668
binding.
MessageSecurityVersion
= this.GetSupportedMessageSecurityVersion(SecurityVersion.WSSecurity10);
692
binding.
MessageSecurityVersion
= this.GetSupportedMessageSecurityVersion(SecurityVersion.WSSecurity11);
47 references to MessageSecurityVersion
dotnet-svcutil-lib (47)
CodeDomFixup\EndpointSelector.cs (5)
281
if (transportSecurityBindingElement.
MessageSecurityVersion
!= MessageSecurityVersion.WSSecurity10WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10 &&
282
transportSecurityBindingElement.
MessageSecurityVersion
!= MessageSecurityVersion.WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10 &&
283
transportSecurityBindingElement.
MessageSecurityVersion
!= MessageSecurityVersion.WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11 &&
284
transportSecurityBindingElement.
MessageSecurityVersion
!= MessageSecurityVersion.WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10)
291
s_bindingValidationErrors.Add(string.Format(SR.BindingTransportMessageSecurityVersionNotSupportedFormat, transportSecurityBindingElement.
MessageSecurityVersion
, values));
CodeDomFixup\MethodCreationHelper.cs (3)
1169
if (defaultBindingElement.
MessageSecurityVersion
!= bindingElement.
MessageSecurityVersion
)
1177
bindingElement.
MessageSecurityVersion
.ToString())));
FrameworkFork\System.ServiceModel\System\ServiceModel\BasicHttpMessageSecurity.cs (1)
103
if (sbe.
MessageSecurityVersion
!= MessageSecurityVersion.WSSecurity10WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityBindingElement.cs (1)
1418
sb.AppendLine(String.Format(CultureInfo.InvariantCulture, "MessageSecurityVersion: {0}", this.
MessageSecurityVersion
.ToString()));
FrameworkFork\System.ServiceModel\System\ServiceModel\Configuration\SecurityElementBase.cs (10)
114
if (b1.
MessageSecurityVersion
!= b2.
MessageSecurityVersion
)
120
if (b1.
MessageSecurityVersion
.SecurityVersion != b2.
MessageSecurityVersion
.SecurityVersion
121
|| b1.
MessageSecurityVersion
.TrustVersion != b2.
MessageSecurityVersion
.TrustVersion
122
|| b1.
MessageSecurityVersion
.SecureConversationVersion != b2.
MessageSecurityVersion
.SecureConversationVersion
123
|| b1.
MessageSecurityVersion
.SecurityPolicyVersion != b2.
MessageSecurityVersion
.SecurityPolicyVersion)
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageSecurityOverHttp.cs (12)
289
sbe.
MessageSecurityVersion
,
291
sbe.
MessageSecurityVersion
.SecurityVersion,
292
sbe.
MessageSecurityVersion
.TrustVersion,
293
sbe.
MessageSecurityVersion
.SecureConversationVersion,
334
sbe.
MessageSecurityVersion
,
336
sbe.
MessageSecurityVersion
.SecurityVersion,
337
sbe.
MessageSecurityVersion
.TrustVersion,
338
sbe.
MessageSecurityVersion
.SecureConversationVersion,
367
sbe.
MessageSecurityVersion
,
369
sbe.
MessageSecurityVersion
.SecurityVersion,
370
sbe.
MessageSecurityVersion
.TrustVersion,
371
sbe.
MessageSecurityVersion
.SecureConversationVersion,
FrameworkFork\System.ServiceModel\System\ServiceModel\MessageSecurityOverTcp.cs (10)
157
if (sbe.
MessageSecurityVersion
!= MessageSecurityVersion.WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11
158
&& sbe.
MessageSecurityVersion
!= MessageSecurityVersion.WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10)
189
bootstrapSecurity.
MessageSecurityVersion
,
191
bootstrapSecurity.
MessageSecurityVersion
.SecurityVersion,
192
bootstrapSecurity.
MessageSecurityVersion
.TrustVersion,
193
bootstrapSecurity.
MessageSecurityVersion
.SecureConversationVersion,
218
bootstrapSecurity.
MessageSecurityVersion
,
220
bootstrapSecurity.
MessageSecurityVersion
.SecurityVersion,
221
bootstrapSecurity.
MessageSecurityVersion
.TrustVersion,
222
bootstrapSecurity.
MessageSecurityVersion
.SecureConversationVersion,
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (5)
619
if (binding.
MessageSecurityVersion
.SecurityVersion == SecurityVersion.WSSecurity10)
623
else if (binding.
MessageSecurityVersion
.SecurityVersion == SecurityVersion.WSSecurity11)
1356
WSSecurityPolicy sp = WSSecurityPolicy.GetSecurityPolicyDriver(security.
MessageSecurityVersion
);
2638
WSSecurityPolicy sp = WSSecurityPolicy.GetSecurityPolicyDriver(bootstrapSecurity.
MessageSecurityVersion
);
3054
MessageSecurityVersion messageSecurityVersion = sbe.
MessageSecurityVersion
;