13 writes to RequireConfidentiality
System.ServiceModel (13)
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (4)
239
forward.
RequireConfidentiality
= this.HasProtectionRequirements(forward.ProtectionRequirements.IncomingEncryptionParts);
292
forward.RequireIntegrity = forward.
RequireConfidentiality
= false;
340
reverse.RequireIntegrity = reverse.
RequireConfidentiality
= false;
344
reverse.
RequireConfidentiality
= this.HasProtectionRequirements(reverse.ProtectionRequirements.IncomingEncryptionParts);
System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (5)
171
protocolFactory.
RequireConfidentiality
= true;
224
sessionFactory.
RequireConfidentiality
= true;
253
protocolFactory.
RequireConfidentiality
= true;
314
sessionFactory.
RequireConfidentiality
= true;
352
protocolFactory.
RequireConfidentiality
= true;
System\ServiceModel\Security\AcceleratedTokenAuthenticator.cs (1)
141
= soapBindingFactory.
RequireConfidentiality
= soapBindingFactory.RequireIntegrity = true;
System\ServiceModel\Security\AcceleratedTokenProvider.cs (1)
188
= soapBindingFactory.
RequireConfidentiality
= soapBindingFactory.RequireIntegrity = true;
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (1)
1104
= soapBindingFactory.
RequireConfidentiality
= soapBindingFactory.RequireIntegrity = true;
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (1)
386
= soapBindingFactory.
RequireConfidentiality
= soapBindingFactory.RequireIntegrity = true;
11 references to RequireConfidentiality
System.ServiceModel (11)
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (1)
260
if (forward.
RequireConfidentiality
|| (!this.isCertificateSignatureBinding && forward.ApplyIntegrity))
System\ServiceModel\Security\AsymmetricSecurityProtocol.cs (2)
257
if (factory.
RequireConfidentiality
)
283
if (this.Factory.RecipientAsymmetricTokenProvider != null && this.Factory.
RequireConfidentiality
)
System\ServiceModel\Security\AsymmetricSecurityProtocolFactory.cs (1)
108
return ((this.ActAsInitiator && this.ApplyConfidentiality) || (!this.ActAsInitiator && this.
RequireConfidentiality
));
System\ServiceModel\Security\MessageSecurityProtocol.cs (3)
57
bool requiresAppSecurity = this.factory.RequireIntegrity || this.factory.
RequireConfidentiality
|| this.factory.DetectReplays;
393
if (factory.
RequireConfidentiality
|| securityHeader.ExpectBasicTokens)
398
securityHeader.ExpectEncryption = factory.
RequireConfidentiality
|| securityHeader.ExpectBasicTokens;
System\ServiceModel\Security\MessageSecurityProtocolFactory.cs (2)
169
bool needsCorrelationTokenOnReply = this.RequireIntegrity || this.
RequireConfidentiality
;
238
if (this.
RequireConfidentiality
)
System\ServiceModel\Security\SecuritySessionClientSettings.cs (1)
393
if (symmetric.
RequireConfidentiality
)
System\ServiceModel\Security\SecuritySessionServerSettings.cs (1)
648
if (messagePf.
RequireConfidentiality
)