15 writes to ApplyConfidentiality
System.ServiceModel (15)
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (6)
245
forward.ApplyIntegrity = forward.
ApplyConfidentiality
= false;
249
forward.
ApplyConfidentiality
= forward.RequireIntegrity = false;
255
forward.
ApplyConfidentiality
= this.HasProtectionRequirements(forward.ProtectionRequirements.OutgoingEncryptionParts);
288
forward.
ApplyConfidentiality
= forward.ApplyIntegrity = false;
338
reverse.
ApplyConfidentiality
= this.HasProtectionRequirements(reverse.ProtectionRequirements.OutgoingEncryptionParts);
346
reverse.ApplyIntegrity = reverse.
ApplyConfidentiality
= false;
System\ServiceModel\Channels\SymmetricSecurityBindingElement.cs (5)
170
protocolFactory.
ApplyConfidentiality
= true;
223
sessionFactory.
ApplyConfidentiality
= true;
252
protocolFactory.
ApplyConfidentiality
= true;
313
sessionFactory.
ApplyConfidentiality
= true;
351
protocolFactory.
ApplyConfidentiality
= true;
System\ServiceModel\Security\AcceleratedTokenAuthenticator.cs (1)
140
soapBindingFactory.
ApplyConfidentiality
= soapBindingFactory.ApplyIntegrity
System\ServiceModel\Security\AcceleratedTokenProvider.cs (1)
187
soapBindingFactory.
ApplyConfidentiality
= soapBindingFactory.ApplyIntegrity
System\ServiceModel\Security\SecuritySessionSecurityTokenAuthenticator.cs (1)
1103
soapBindingFactory.
ApplyConfidentiality
= soapBindingFactory.ApplyIntegrity
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (1)
385
soapBindingFactory.
ApplyConfidentiality
= soapBindingFactory.ApplyIntegrity
25 references to ApplyConfidentiality
System.ServiceModel (25)
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (1)
273
if (forward.
ApplyConfidentiality
|| (!this.isCertificateSignatureBinding && forward.RequireIntegrity))
System\ServiceModel\Security\AcceptorSessionSymmetricMessageSecurityProtocol.cs (1)
177
if (Factory.
ApplyConfidentiality
)
System\ServiceModel\Security\AsymmetricSecurityProtocol.cs (9)
82
if (this.Factory.RequireIntegrity || this.Factory.
ApplyConfidentiality
)
87
providerRequirement.Properties[ServiceModelSecurityTokenRequirement.MessageDirectionProperty] = (this.Factory.
ApplyConfidentiality
) ? MessageDirection.Output : MessageDirection.Input;
95
authenticatorRequirement.Properties[ServiceModelSecurityTokenRequirement.MessageDirectionProperty] = (this.Factory.
ApplyConfidentiality
) ? MessageDirection.Output : MessageDirection.Input;
165
SecurityTokenProvider encProvider = factory.
ApplyConfidentiality
? this.initiatorAsymmetricTokenProvider : null;
168
encProvider, sigProvider, factory.
ApplyConfidentiality
, this.initiatorAsymmetricTokenAuthenticator, correlationState, timeoutHelper.RemainingTime(), callback, state);
211
if (Factory.
ApplyConfidentiality
|| securityHeader.HasEncryptedTokens)
213
if (!this.Factory.
ApplyConfidentiality
)
335
if (factory.
ApplyConfidentiality
)
347
if (factory.
ApplyConfidentiality
)
System\ServiceModel\Security\AsymmetricSecurityProtocolFactory.cs (1)
108
return ((this.ActAsInitiator && this.
ApplyConfidentiality
) || (!this.ActAsInitiator && this.RequireConfidentiality));
System\ServiceModel\Security\InitiatorSessionSymmetricMessageSecurityProtocol.cs (2)
150
if (this.Factory.
ApplyConfidentiality
)
230
if (Factory.
ApplyConfidentiality
)
System\ServiceModel\Security\MessageSecurityProtocol.cs (2)
69
bool requiresAppSecurity = this.factory.ApplyIntegrity || this.factory.
ApplyConfidentiality
|| this.factory.AddTimestamp;
337
if (factory.
ApplyConfidentiality
)
System\ServiceModel\Security\MessageSecurityProtocolFactory.cs (2)
168
bool savesCorrelationTokenOnRequest = this.ApplyIntegrity || this.
ApplyConfidentiality
;
271
if (this.
ApplyConfidentiality
)
System\ServiceModel\Security\SecuritySessionClientSettings.cs (1)
388
if (symmetric.
ApplyConfidentiality
)
System\ServiceModel\Security\SecuritySessionServerSettings.cs (1)
640
if (messagePf.
ApplyConfidentiality
)
System\ServiceModel\Security\SymmetricSecurityProtocol.cs (5)
177
return new SecureOutgoingMessageAsyncResult(message, this, provider, this.Factory.
ApplyConfidentiality
, this.initiatorTokenAuthenticator, correlationState, timeoutHelper.RemainingTime(), callback, state);
215
if (Factory.
ApplyConfidentiality
|| securityHeader.HasEncryptedTokens)
217
if (!this.Factory.
ApplyConfidentiality
)
294
if (factory.ApplyIntegrity || factory.
ApplyConfidentiality
)
303
SecurityToken providerToken = GetTokenAndEnsureOutgoingIdentity(provider, factory.
ApplyConfidentiality
, timeoutHelper.RemainingTime(), this.initiatorTokenAuthenticator);