71 references to ActAsInitiator
System.ServiceModel (71)
System\ServiceModel\Security\AcceptorSessionSymmetricMessageSecurityProtocol.cs (1)
35
if (factory.
ActAsInitiator
== true)
System\ServiceModel\Security\AcceptorSessionSymmetricTransportSecurityProtocol.cs (1)
30
if (factory.
ActAsInitiator
== true)
System\ServiceModel\Security\AsymmetricSecurityProtocol.cs (9)
71
if (this.Factory.
ActAsInitiator
)
106
if (this.Factory.
ActAsInitiator
)
127
if (this.Factory.
ActAsInitiator
)
159
if (this.Factory.
ActAsInitiator
== false)
201
SecurityTokenParameters signingTokenParameters = (this.Factory.
ActAsInitiator
) ? this.Factory.CryptoTokenParameters : this.Factory.AsymmetricTokenParameters;
202
SecurityTokenParameters encryptionTokenParameters = (this.Factory.
ActAsInitiator
) ? this.Factory.AsymmetricTokenParameters : this.Factory.CryptoTokenParameters;
248
if (factory.
ActAsInitiator
)
303
if (factory.
ActAsInitiator
)
329
if (factory.
ActAsInitiator
)
System\ServiceModel\Security\AsymmetricSecurityProtocolFactory.cs (9)
108
return ((this.
ActAsInitiator
&& this.ApplyConfidentiality) || (!this.
ActAsInitiator
&& this.RequireConfidentiality));
116
return ((this.
ActAsInitiator
&& this.RequireIntegrity) || (!this.
ActAsInitiator
&& this.ApplyIntegrity));
154
if (!this.
ActAsInitiator
)
170
if (!this.
ActAsInitiator
)
195
if (this.
ActAsInitiator
)
251
if (!this.
ActAsInitiator
)
262
if (this.
ActAsInitiator
&& this.AllowSerializedSigningTokenOnReply && this.IdentityVerifier == null)
System\ServiceModel\Security\DuplexSecurityProtocolFactory.cs (4)
46
return this.
ActAsInitiator
? this.ReverseProtocolFactory : this.ForwardProtocolFactory;
54
return this.
ActAsInitiator
? this.ForwardProtocolFactory : this.ReverseProtocolFactory;
181
Open(this.ForwardProtocolFactory, this.
ActAsInitiator
, "ForwardProtocolFactory", timeoutHelper.RemainingTime());
182
Open(this.ReverseProtocolFactory, !this.
ActAsInitiator
, "ReverseProtocolFactory", timeoutHelper.RemainingTime());
System\ServiceModel\Security\InitiatorSessionSymmetricMessageSecurityProtocol.cs (1)
33
if (factory.
ActAsInitiator
!= true)
System\ServiceModel\Security\InitiatorSessionSymmetricTransportSecurityProtocol.cs (1)
26
if (factory.
ActAsInitiator
!= true)
System\ServiceModel\Security\MessageSecurityProtocol.cs (10)
52
if (this.factory.
ActAsInitiator
66
if (!this.factory.
ActAsInitiator
&& this.factory.SecurityBindingElement.EnableUnsecuredResponse)
247
if (securityHeader.MaintainSignatureConfirmationState && !this.factory.
ActAsInitiator
)
320
if (factory.
ActAsInitiator
)
384
MessageDirection direction = factory.
ActAsInitiator
? MessageDirection.Output : MessageDirection.Input;
407
securityHeader.RequireSignedPrimaryToken = !factory.
ActAsInitiator
&& factory.SecurityBindingElement.ProtectTokens;
409
if (factory.
ActAsInitiator
&& factory.DoRequestSignatureConfirmation && HasCorrelationState(correlationStates))
414
else if (!factory.
ActAsInitiator
&& factory.DoRequestSignatureConfirmation)
449
if (securityHeader.MaintainSignatureConfirmationState && this.factory.
ActAsInitiator
)
663
if (this.factory.
ActAsInitiator
)
System\ServiceModel\Security\MessageSecurityProtocolFactory.cs (5)
166
if (this.
ActAsInitiator
&& this.SupportsRequestReply)
245
return ExtractMessageParts(action, (this.
ActAsInitiator
) ? this.ProtectionRequirements.OutgoingEncryptionParts : this.ProtectionRequirements.IncomingEncryptionParts, false);
261
return ExtractMessageParts(action, (this.
ActAsInitiator
) ? this.ProtectionRequirements.OutgoingSignatureParts : this.ProtectionRequirements.IncomingSignatureParts, true);
277
return ExtractMessageParts(action, (this.
ActAsInitiator
) ? this.ProtectionRequirements.IncomingEncryptionParts : this.ProtectionRequirements.OutgoingEncryptionParts, false);
293
return ExtractMessageParts(action, (this.
ActAsInitiator
) ? this.ProtectionRequirements.IncomingSignatureParts : this.ProtectionRequirements.OutgoingSignatureParts, true);
System\ServiceModel\Security\SecurityProtocol.cs (6)
375
if (this.factory.
ActAsInitiator
)
447
if (this.factory.
ActAsInitiator
)
466
if (this.factory.
ActAsInitiator
)
535
MessageDirection transferDirection = factory.
ActAsInitiator
? MessageDirection.Input : MessageDirection.Output;
575
if (!factory.
ActAsInitiator
)
623
if (factory.
ActAsInitiator
)
System\ServiceModel\Security\SecurityProtocolFactory.cs (2)
995
this.expectOutgoingMessages = this.
ActAsInitiator
|| this.SupportsRequestReply;
996
this.expectIncomingMessages = !this.
ActAsInitiator
|| this.SupportsRequestReply;
System\ServiceModel\Security\SessionSymmetricMessageSecurityProtocolFactory.cs (2)
52
if (this.
ActAsInitiator
)
71
this.derivedKeyTokenParameters = new SessionDerivedKeySecurityTokenParameters(this.
ActAsInitiator
);
System\ServiceModel\Security\SessionSymmetricTransportSecurityProtocolFactory.cs (2)
43
if (this.
ActAsInitiator
)
63
this.derivedKeyTokenParameters = new SessionDerivedKeySecurityTokenParameters(this.
ActAsInitiator
);
System\ServiceModel\Security\SymmetricSecurityProtocol.cs (8)
81
if (this.Factory.
ActAsInitiator
)
110
if (this.Factory.
ActAsInitiator
)
128
if (this.Factory.
ActAsInitiator
)
146
if (this.Factory.
ActAsInitiator
)
171
if (this.Factory.
ActAsInitiator
!= true)
296
if (factory.
ActAsInitiator
)
338
if (this.Factory.
ActAsInitiator
)
374
if (factory.
ActAsInitiator
)
System\ServiceModel\Security\SymmetricSecurityProtocolFactory.cs (3)
106
if (!this.
ActAsInitiator
)
122
if (!this.
ActAsInitiator
)
159
if (!this.
ActAsInitiator
)
System\ServiceModel\Security\TransportSecurityProtocol.cs (7)
34
if (this.SecurityProtocolFactory.
ActAsInitiator
)
85
if (this.SecurityProtocolFactory.
ActAsInitiator
)
212
factory.IncomingAlgorithmSuite, (factory.
ActAsInitiator
) ? MessageDirection.Output : MessageDirection.Input);
221
if ((factory.
ActAsInitiator
&& (!factory.AddTimestamp || factory.SecurityBindingElement.EnableUnsecuredResponse))
222
|| (!factory.
ActAsInitiator
&& !factory.AddTimestamp && !expectSupportingTokens))
251
if (!factory.
ActAsInitiator
)
264
if (!factory.
ActAsInitiator
)