5 instantiations of SecurityProtocolCorrelationState
System.ServiceModel (5)
System\ServiceModel\Security\InitiatorSessionSymmetricMessageSecurityProtocol.cs (1)
182
return new
SecurityProtocolCorrelationState
(null);
System\ServiceModel\Security\MessageSecurityProtocol.cs (4)
241
return new
SecurityProtocolCorrelationState
(correlationToken);
246
SecurityProtocolCorrelationState result = new
SecurityProtocolCorrelationState
(correlationToken);
774
newCorrelationState = new
SecurityProtocolCorrelationState
(token);
976
newCorrelationState = new
SecurityProtocolCorrelationState
(token);
180 references to SecurityProtocolCorrelationState
System.ServiceModel (180)
System\ServiceModel\Channels\SecurityChannelFactory.cs (2)
624
internal Message ProcessReply(Message reply,
SecurityProtocolCorrelationState
correlationState, TimeSpan timeout)
682
SecurityProtocolCorrelationState
correlationState = this.SecurityProtocol.SecureOutgoingMessage(ref message, timeoutHelper.RemainingTime(), null);
System\ServiceModel\Channels\SecurityChannelListener.cs (6)
812
internal
SecurityProtocolCorrelationState
VerifyIncomingMessage(ref Message message, TimeSpan timeout, params
SecurityProtocolCorrelationState
[] correlationState)
1275
SecurityProtocolCorrelationState
correlationState = this.VerifyIncomingMessage(ref message, timeout, null);
1398
readonly
SecurityProtocolCorrelationState
correlationState;
1401
SecurityProtocol securityProtocol,
SecurityProtocolCorrelationState
correlationState,
1458
AsyncCallback callback, object state,
SecurityProtocolCorrelationState
correlationState)
System\ServiceModel\Security\AcceptorSessionSymmetricMessageSecurityProtocol.cs (7)
142
protected override IAsyncResult BeginSecureOutgoingMessageCore(Message message, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState, AsyncCallback callback, object state)
152
protected override
SecurityProtocolCorrelationState
SecureOutgoingMessageCore(ref Message message, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState)
162
protected override void EndSecureOutgoingMessageCore(IAsyncResult result, out Message message, out
SecurityProtocolCorrelationState
newCorrelationState)
169
SecurityTokenParameters tokenParameters,
SecurityProtocolCorrelationState
correlationState)
184
protected override
SecurityProtocolCorrelationState
VerifyIncomingMessageCore(ref Message message, string actor, TimeSpan timeout,
SecurityProtocolCorrelationState
[] correlationStates)
System\ServiceModel\Security\ApplySecurityAndSendAsyncResult.cs (3)
18
SecurityProtocolCorrelationState
newCorrelationState;
30
protected
SecurityProtocolCorrelationState
CorrelationState
40
protected void Begin(Message message,
SecurityProtocolCorrelationState
correlationState)
System\ServiceModel\Security\AsymmetricSecurityProtocol.cs (15)
145
protected override IAsyncResult BeginSecureOutgoingMessageCore(Message message, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState, AsyncCallback callback, object state)
149
SecurityProtocolCorrelationState
newCorrelationState;
155
return new CompletedAsyncResult<Message,
SecurityProtocolCorrelationState
>(message, newCorrelationState, callback, state);
172
protected override void EndSecureOutgoingMessageCore(IAsyncResult result, out Message message, out
SecurityProtocolCorrelationState
newCorrelationState)
174
if (result is CompletedAsyncResult<Message,
SecurityProtocolCorrelationState
>)
176
message = CompletedAsyncResult<Message,
SecurityProtocolCorrelationState
>.End(result, out newCorrelationState);
184
protected override
SecurityProtocolCorrelationState
SecureOutgoingMessageCore(ref Message message, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState)
188
SecurityProtocolCorrelationState
newCorrelationState;
196
IList<SupportingTokenSpecification> supportingTokens,
SecurityProtocolCorrelationState
correlationState)
241
protected override
SecurityProtocolCorrelationState
VerifyIncomingMessageCore(ref Message message, string actor, TimeSpan timeout,
SecurityProtocolCorrelationState
[] correlationStates)
320
bool TryGetTokenSynchronouslyForOutgoingSecurity(Message message,
SecurityProtocolCorrelationState
correlationState, bool isBlockingCall, TimeSpan timeout,
321
out SecurityToken encryptingToken, out SecurityToken signingToken, out IList<SupportingTokenSpecification> supportingTokens, out
SecurityProtocolCorrelationState
newCorrelationState)
363
SecurityProtocolCorrelationState
correlationState, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Security\DuplexSecurityProtocolFactory.cs (8)
242
public override IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState,
251
return new CompletedAsyncResult<Message,
SecurityProtocolCorrelationState
>(message, null, callback, state);
268
out Message message, out
SecurityProtocolCorrelationState
newCorrelationState)
276
message = CompletedAsyncResult<Message,
SecurityProtocolCorrelationState
>.End(result, out newCorrelationState);
288
public override
SecurityProtocolCorrelationState
SecureOutgoingMessage(ref Message message, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState)
308
public override
SecurityProtocolCorrelationState
VerifyIncomingMessage(ref Message message, TimeSpan timeout,
309
params
SecurityProtocolCorrelationState
[] correlationStates)
System\ServiceModel\Security\InitiatorSessionSymmetricMessageSecurityProtocol.cs (15)
157
protected override IAsyncResult BeginSecureOutgoingMessageCore(Message message, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState, AsyncCallback callback, object state)
168
SecurityProtocolCorrelationState
newCorrelationState = CreateCorrelationStateIfRequired();
170
return new CompletedAsyncResult<Message,
SecurityProtocolCorrelationState
>(message, newCorrelationState, callback, state);
178
internal
SecurityProtocolCorrelationState
CreateCorrelationStateIfRequired()
190
protected override
SecurityProtocolCorrelationState
SecureOutgoingMessageCore(ref Message message, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState)
197
SecurityProtocolCorrelationState
newCorrelationState = CreateCorrelationStateIfRequired();
204
protected override void EndSecureOutgoingMessageCore(IAsyncResult result, out Message message, out
SecurityProtocolCorrelationState
newCorrelationState)
206
if (result is CompletedAsyncResult<Message,
SecurityProtocolCorrelationState
>)
208
message = CompletedAsyncResult<Message,
SecurityProtocolCorrelationState
>.End(result, out newCorrelationState);
217
IList<SupportingTokenSpecification> supportingTokens,
SecurityProtocolCorrelationState
correlationState)
237
protected override
SecurityProtocolCorrelationState
VerifyIncomingMessageCore(ref Message message, string actor, TimeSpan timeout,
SecurityProtocolCorrelationState
[] correlationStates)
279
SecurityProtocolCorrelationState
newCorrelationState;
300
internal static Message End(IAsyncResult result, out
SecurityProtocolCorrelationState
newCorrelationState)
System\ServiceModel\Security\MessageSecurityProtocol.cs (41)
101
public override IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState, AsyncCallback callback, object state)
123
protected abstract IAsyncResult BeginSecureOutgoingMessageCore(Message message, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState, AsyncCallback callback, object state);
133
SecurityProtocolCorrelationState
newCorrelationState;
147
public override void EndSecureOutgoingMessage(IAsyncResult result, out Message message, out
SecurityProtocolCorrelationState
newCorrelationState)
168
protected abstract void EndSecureOutgoingMessageCore(IAsyncResult result, out Message message, out
SecurityProtocolCorrelationState
newCorrelationState);
239
protected
SecurityProtocolCorrelationState
GetCorrelationState(SecurityToken correlationToken)
244
protected
SecurityProtocolCorrelationState
GetCorrelationState(SecurityToken correlationToken, ReceiveSecurityHeader securityHeader)
246
SecurityProtocolCorrelationState
result = new SecurityProtocolCorrelationState(correlationToken);
254
protected SecurityToken GetCorrelationToken(
SecurityProtocolCorrelationState
[] correlationStates)
281
protected SecurityToken GetCorrelationToken(
SecurityProtocolCorrelationState
correlationState)
308
protected SendSecurityHeader ConfigureSendSecurityHeader(Message message, string actor, IList<SupportingTokenSpecification> supportingTokens,
SecurityProtocolCorrelationState
correlationState)
360
bool HasCorrelationState(
SecurityProtocolCorrelationState
[] correlationState)
376
protected ReceiveSecurityHeader ConfigureReceiveSecurityHeader(Message message, string actor,
SecurityProtocolCorrelationState
[] correlationStates, out IList<SupportingTokenAuthenticatorSpecification> supportingAuthenticators)
381
protected ReceiveSecurityHeader ConfigureReceiveSecurityHeader(Message message, string actor,
SecurityProtocolCorrelationState
[] correlationStates, SecurityStandardsManager standardsManager, out IList<SupportingTokenAuthenticatorSpecification> supportingAuthenticators)
426
SecurityToken requiredSigningToken, TimeSpan timeout,
SecurityProtocolCorrelationState
[] correlationStates)
457
protected void CheckSignatureConfirmation(ReceiveSecurityHeader securityHeader,
SecurityProtocolCorrelationState
[] correlationStates)
548
public override
SecurityProtocolCorrelationState
SecureOutgoingMessage(ref Message message, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState)
558
SecurityProtocolCorrelationState
newCorrelationState = SecureOutgoingMessageCore(ref message, timeout, correlationState);
572
protected abstract
SecurityProtocolCorrelationState
SecureOutgoingMessageCore(ref Message message, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState);
622
public override
SecurityProtocolCorrelationState
VerifyIncomingMessage(ref Message message, TimeSpan timeout, params
SecurityProtocolCorrelationState
[] correlationStates)
640
SecurityProtocolCorrelationState
newCorrelationState = VerifyIncomingMessageCore(ref message, actor, timeout, correlationStates);
659
protected abstract
SecurityProtocolCorrelationState
VerifyIncomingMessageCore(ref Message message, string actor, TimeSpan timeout,
SecurityProtocolCorrelationState
[] correlationStates);
661
internal
SecurityProtocolCorrelationState
GetSignatureConfirmationCorrelationState(
SecurityProtocolCorrelationState
oldCorrelationState,
SecurityProtocolCorrelationState
newCorrelationState)
681
SecurityProtocolCorrelationState
newCorrelationState;
682
SecurityProtocolCorrelationState
oldCorrelationState;
686
bool doIdentityChecks, SecurityTokenAuthenticator identityCheckAuthenticator,
SecurityProtocolCorrelationState
oldCorrelationState, TimeSpan timeout, AsyncCallback callback, object state)
702
protected
SecurityProtocolCorrelationState
NewCorrelationState
707
protected
SecurityProtocolCorrelationState
OldCorrelationState
712
internal static Message End(IAsyncResult result, out
SecurityProtocolCorrelationState
newCorrelationState)
805
SecurityProtocolCorrelationState
newCorrelationState;
806
SecurityProtocolCorrelationState
oldCorrelationState;
811
SecurityProtocolCorrelationState
oldCorrelationState,
830
protected
SecurityProtocolCorrelationState
NewCorrelationState
835
protected
SecurityProtocolCorrelationState
OldCorrelationState
840
internal static Message End(IAsyncResult result, out
SecurityProtocolCorrelationState
newCorrelationState)
System\ServiceModel\Security\SecurityProtocol.cs (14)
711
public virtual IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState, AsyncCallback callback, object state)
713
SecurityProtocolCorrelationState
newCorrelationState = SecureOutgoingMessage(ref message, timeout, correlationState);
714
return new CompletedAsyncResult<Message,
SecurityProtocolCorrelationState
>(message, newCorrelationState, callback, state);
723
public virtual IAsyncResult BeginVerifyIncomingMessage(Message message, TimeSpan timeout,
SecurityProtocolCorrelationState
[] correlationStates, AsyncCallback callback, object state)
725
SecurityProtocolCorrelationState
newCorrelationState = VerifyIncomingMessage(ref message, timeout, correlationStates);
726
return new CompletedAsyncResult<Message,
SecurityProtocolCorrelationState
>(message, newCorrelationState, callback, state);
734
public virtual void EndSecureOutgoingMessage(IAsyncResult result, out Message message, out
SecurityProtocolCorrelationState
newCorrelationState)
736
message = CompletedAsyncResult<Message,
SecurityProtocolCorrelationState
>.End(result, out newCorrelationState);
744
public virtual void EndVerifyIncomingMessage(IAsyncResult result, out Message message, out
SecurityProtocolCorrelationState
newCorrelationState)
746
message = CompletedAsyncResult<Message,
SecurityProtocolCorrelationState
>.End(result, out newCorrelationState);
779
public virtual
SecurityProtocolCorrelationState
SecureOutgoingMessage(ref Message message, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState)
798
public virtual
SecurityProtocolCorrelationState
VerifyIncomingMessage(ref Message message, TimeSpan timeout, params
SecurityProtocolCorrelationState
[] correlationStates)
System\ServiceModel\Security\SecuritySessionClientSettings.cs (31)
813
protected
SecurityProtocolCorrelationState
SendCloseMessage(TimeSpan timeout)
816
SecurityProtocolCorrelationState
closeCorrelationState;
864
SecurityProtocolCorrelationState
EndSendCloseMessage(IAsyncResult result)
866
SecurityProtocolCorrelationState
correlationState = SecureSendAsyncResult.End(result);
1050
protected Message ProcessIncomingMessage(Message message, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState, out MessageFault protocolFault)
1113
protected Message ProcessRequestContext(RequestContext requestContext, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState)
1299
SecurityProtocolCorrelationState
correlationState = this.securityProtocol.SecureOutgoingMessage(ref message, timeout, null);
1300
return new CompletedAsyncResult<Message,
SecurityProtocolCorrelationState
>(message, correlationState, callback, state);
1308
protected Message EndSecureOutgoingMessage(IAsyncResult result, out
SecurityProtocolCorrelationState
correlationState)
1310
if (result is CompletedAsyncResult<Message,
SecurityProtocolCorrelationState
>)
1312
return CompletedAsyncResult<Message,
SecurityProtocolCorrelationState
>.End(result, out correlationState);
1323
protected
SecurityProtocolCorrelationState
SecureOutgoingMessage(ref Message message, TimeSpan timeout)
1334
protected void VerifyIncomingMessage(ref Message message, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState)
1387
protected IAsyncResult BeginReceiveInternal(TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState, AsyncCallback callback, object state)
1397
protected Message ReceiveInternal(TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState)
1499
protected virtual
SecurityProtocolCorrelationState
CloseOutputSession(TimeSpan timeout)
1575
protected virtual
SecurityProtocolCorrelationState
EndCloseOutputSession(IAsyncResult result)
1849
SecurityProtocolCorrelationState
correlationState;
1852
public ReceiveAsyncResult(ClientSecuritySessionChannel channel, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState, AsyncCallback callback, object state)
2528
SecurityProtocolCorrelationState
correlationState;
2580
protected
SecurityProtocolCorrelationState
SecurityCorrelationState
2704
public static
SecurityProtocolCorrelationState
End(IAsyncResult result)
2846
protected override
SecurityProtocolCorrelationState
CloseOutputSession(TimeSpan timeout)
2850
SecurityProtocolCorrelationState
correlationState = base.CloseOutputSession(timeoutHelper.RemainingTime());
2871
protected override
SecurityProtocolCorrelationState
EndCloseOutputSession(IAsyncResult result)
2882
SecurityProtocolCorrelationState
EndBaseCloseOutputSession(IAsyncResult result)
2892
Message ProcessReply(Message reply, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState)
2939
SecurityProtocolCorrelationState
correlationState = this.SecureOutgoingMessage(ref message, timeoutHelper.RemainingTime());
2958
SecurityProtocolCorrelationState
requestCorrelationState;
3019
public static Message EndAsReply(IAsyncResult result, out
SecurityProtocolCorrelationState
correlationState, out TimeSpan remainingTime)
3033
SecurityProtocolCorrelationState
correlationState;
System\ServiceModel\Security\SecuritySessionServerSettings.cs (17)
1328
protected abstract void OnCloseMessageReceived(RequestContext requestContext, Message message,
SecurityProtocolCorrelationState
correlationState, TimeSpan timeout);
1330
protected abstract void OnCloseResponseMessageReceived(RequestContext requestContext, Message message,
SecurityProtocolCorrelationState
correlationState, TimeSpan timeout);
1388
bool CheckIncomingToken(RequestContext requestContext, Message message,
SecurityProtocolCorrelationState
correlationState, TimeSpan timeout)
1570
SecurityProtocolCorrelationState
correlationState = null;
1739
Message ProcessRequestContext(RequestContext requestContext, TimeSpan timeout, out
SecurityProtocolCorrelationState
correlationState, out bool isSecurityProcessingFailure)
1832
internal void SecureApplicationMessage(ref Message message, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState)
1840
internal
SecurityProtocolCorrelationState
VerifyIncomingMessage(ref Message message, TimeSpan timeout)
1886
void SendRenewFault(RequestContext requestContext,
SecurityProtocolCorrelationState
correlationState, TimeSpan timeout)
1966
internal Message CreateCloseResponse(Message message,
SecurityProtocolCorrelationState
correlationState, TimeSpan timeout)
2553
SecurityProtocolCorrelationState
correlationState;
3050
protected override void OnCloseResponseMessageReceived(RequestContext requestContext, Message message,
SecurityProtocolCorrelationState
correlationState, TimeSpan timeout)
3058
protected override void OnCloseMessageReceived(RequestContext requestContext, Message message,
SecurityProtocolCorrelationState
correlationState, TimeSpan timeout)
3072
bool SendCloseResponseOnCloseReceivedIfRequired(RequestContext requestContext, Message message,
SecurityProtocolCorrelationState
correlationState, TimeSpan timeout)
3533
SecurityProtocolCorrelationState
correlationState;
3535
public SecuritySessionRequestContext(RequestContext requestContext, Message requestMessage,
SecurityProtocolCorrelationState
correlationState, ServerSecuritySessionChannel channel)
3838
protected override void OnCloseMessageReceived(RequestContext requestContext, Message message,
SecurityProtocolCorrelationState
correlationState, TimeSpan timeout)
3889
protected override void OnCloseResponseMessageReceived(RequestContext requestContext, Message message,
SecurityProtocolCorrelationState
correlationState, TimeSpan timeout)
System\ServiceModel\Security\SendSecurityHeader.cs (2)
56
SecurityProtocolCorrelationState
correlationState;
74
public
SecurityProtocolCorrelationState
CorrelationState
System\ServiceModel\Security\SymmetricSecurityProtocol.cs (16)
156
protected override IAsyncResult BeginSecureOutgoingMessageCore(Message message, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState, AsyncCallback callback, object state)
162
SecurityProtocolCorrelationState
newCorrelationState;
167
return new CompletedAsyncResult<Message,
SecurityProtocolCorrelationState
>(message, newCorrelationState, callback, state);
181
protected override
SecurityProtocolCorrelationState
SecureOutgoingMessageCore(ref Message message, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState)
187
SecurityProtocolCorrelationState
newCorrelationState;
198
SecurityProtocolCorrelationState
correlationState
226
protected override void EndSecureOutgoingMessageCore(IAsyncResult result, out Message message, out
SecurityProtocolCorrelationState
newCorrelationState)
228
if (result is CompletedAsyncResult<Message,
SecurityProtocolCorrelationState
>)
230
message = CompletedAsyncResult<Message,
SecurityProtocolCorrelationState
>.End(result, out newCorrelationState);
285
bool TryGetTokenSynchronouslyForOutgoingSecurity(Message message,
SecurityProtocolCorrelationState
correlationState, bool isBlockingCall, TimeSpan timeout, out SecurityToken token, out SecurityTokenParameters tokenParameters, out SecurityToken prerequisiteWrappingToken, out IList<SupportingTokenSpecification> supportingTokens, out
SecurityProtocolCorrelationState
newCorrelationState)
316
SecurityToken GetCorrelationToken(
SecurityProtocolCorrelationState
[] correlationStates, out SecurityTokenParameters correlationTokenParameters)
331
protected override
SecurityProtocolCorrelationState
VerifyIncomingMessageCore(ref Message message, string actor, TimeSpan timeout,
SecurityProtocolCorrelationState
[] correlationStates)
402
bool doIdentityChecks, SecurityTokenAuthenticator identityCheckAuthenticator,
SecurityProtocolCorrelationState
correlationState, TimeSpan timeout, AsyncCallback callback, object state)
System\ServiceModel\Security\TransportSecurityProtocol.cs (3)
75
public override IAsyncResult BeginSecureOutgoingMessage(Message message, TimeSpan timeout,
SecurityProtocolCorrelationState
correlationState, AsyncCallback callback, object state)
139
SecurityProtocolCorrelationState
dummyState;
143
public override void EndSecureOutgoingMessage(IAsyncResult result, out Message message, out
SecurityProtocolCorrelationState
newCorrelationState)