1 write to factory
System.ServiceModel (1)
System\ServiceModel\Security\MessageSecurityProtocol.cs (1)
27
this.
factory
= factory;
41 references to factory
System.ServiceModel (41)
System\ServiceModel\Security\MessageSecurityProtocol.cs (41)
52
if (this.
factory
.ActAsInitiator
53
&& this.
factory
.SecurityBindingElement.EnableUnsecuredResponse
54
&& !this.
factory
.StandardsManager.SecurityVersion.DoesMessageContainSecurityHeader(message))
57
bool requiresAppSecurity = this.
factory
.RequireIntegrity || this.
factory
.RequireConfidentiality || this.
factory
.DetectReplays;
58
return requiresAppSecurity ||
factory
.ExpectSupportingTokens;
66
if (!this.
factory
.ActAsInitiator && this.
factory
.SecurityBindingElement.EnableUnsecuredResponse)
69
bool requiresAppSecurity = this.
factory
.ApplyIntegrity || this.
factory
.ApplyConfidentiality || this.
factory
.AddTimestamp;
70
return requiresAppSecurity ||
factory
.ExpectSupportingTokens;
76
get { return this.
factory
; }
205
if (this.
factory
.IdentityVerifier != null)
212
this.
factory
.IdentityVerifier.EnsureIncomingIdentity(this.Target, authContext);
223
if (this.
factory
.IdentityVerifier == null)
232
this.
factory
.IdentityVerifier.EnsureOutgoingIdentity(this.Target, authzPolicies);
247
if (securityHeader.MaintainSignatureConfirmationState && !this.
factory
.ActAsInitiator)
332
if (this.
factory
.ApplyIntegrity)
334
securityHeader.SignatureParts = this.
factory
.GetOutgoingSignatureParts(action);
339
securityHeader.EncryptionParts = this.
factory
.GetOutgoingEncryptionParts(action);
347
standardsManager = standardsManager ?? this.
factory
.StandardsManager;
349
this.
factory
.IncomingAlgorithmSuite, transferDirection);
350
securityHeader.Layout = this.
factory
.SecurityHeaderLayout;
351
securityHeader.MaxReceivedMessageSize =
factory
.SecurityBindingElement.MaxReceivedMessageSize;
352
securityHeader.ReaderQuotas =
factory
.SecurityBindingElement.ReaderQuotas;
353
if (this.
factory
.ExpectKeyDerivation)
355
securityHeader.DerivedTokenAuthenticator = this.
factory
.DerivedKeyTokenAuthenticator;
388
supportingAuthenticators = GetSupportingTokenAuthenticatorsAndSetExpectationFlags(this.
factory
, message, securityHeader);
430
securityHeader.ReplayDetectionEnabled = this.
factory
.DetectReplays;
431
securityHeader.SetTimeParameters(this.
factory
.NonceCache, this.
factory
.ReplayWindow, this.
factory
.MaxClockSkew);
433
securityHeader.Process(timeoutHelper.RemainingTime(), SecurityUtils.GetChannelBindingFromMessage(message), this.
factory
.ExtendedProtectionPolicy);
434
if (this.
factory
.AddTimestamp && securityHeader.Timestamp == null)
449
if (securityHeader.MaintainSignatureConfirmationState && this.
factory
.ActAsInitiator)
576
if (this.PerformIncomingAndOutgoingMessageExpectationChecks && !this.
factory
.ExpectOutgoingMessages)
591
if (this.PerformIncomingAndOutgoingMessageExpectationChecks && !
factory
.ExpectIncomingMessages)
627
if (this.PerformIncomingAndOutgoingMessageExpectationChecks && !
factory
.ExpectIncomingMessages)
663
if (this.
factory
.ActAsInitiator)