3 writes to RequireMessageProtection
System.ServiceModel.Primitives (3)
System\ServiceModel\Security\InitiatorSessionSymmetricTransportSecurityProtocol.cs (1)
114
securityHeader.
RequireMessageProtection
= false;
System\ServiceModel\Security\SecurityProtocol.cs (1)
459
sendSecurityHeader.
RequireMessageProtection
= requireMessageProtection;
System\ServiceModel\Security\TransportSecurityProtocol.cs (1)
139
securityHeader.
RequireMessageProtection
= false;
16 references to RequireMessageProtection
System.ServiceModel.Primitives (16)
System\ServiceModel\Security\ReceiveSecurityHeader.cs (5)
343
if (
RequireMessageProtection
)
454
if (
RequireMessageProtection
)
524
bool primarySignatureFound = !
RequireMessageProtection
;
601
bool expectTimestampToBeSigned =
RequireMessageProtection
|| _hasEndorsingOrSignedEndorsingSupportingTokens;
721
if (
RequireMessageProtection
&& encryptionToken != null)
System\ServiceModel\Security\ReceiveSecurityHeaderElementManager.cs (1)
23
if (securityHeader.
RequireMessageProtection
)
System\ServiceModel\Security\SecurityVerifiedMessage.cs (1)
35
if (securityHeader.
RequireMessageProtection
)
System\ServiceModel\Security\SendSecurityHeader.cs (4)
126
ShouldSignToHeader |= (!
RequireMessageProtection
) && (SecurityUtils.GetSecurityKey<AsymmetricSecurityKey>(token) != null);
388
string id =
RequireMessageProtection
? SecurityUtils.GenerateId() : GenerateId();
613
if (!
RequireMessageProtection
)
637
if (!
RequireMessageProtection
)
System\ServiceModel\Security\WSSecurityOneDotZeroSendSecurityHeader.cs (5)
244
if (!
RequireMessageProtection
&& ShouldSignToHeader)
288
if (
RequireMessageProtection
|| ShouldSignToHeader)
401
if (
RequireMessageProtection
)
403
throw new PlatformNotSupportedException(nameof(
RequireMessageProtection
));
485
if (!
RequireMessageProtection
)