MutualCertificate11Assertion.CorrelationState Class
Used to transfer state information between the input filters (when a message is being processed) and the output filters (when the message is being sent).
Namespace: Microsoft.Web.Services3.Design
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim mutualCertificate11Assertion_CorrelationState1 As New MutualCertificate11Assertion.CorrelationState()
Syntax
'Declaration
Protected Class MutualCertificate11Assertion.CorrelationState
Inherits SerializableTokenWrapper(Of EncryptedKeyToken)
protected class MutualCertificate11Assertion.CorrelationState : SerializableTokenWrapper<EncryptedKeyToken>
ref class MutualCertificate11Assertion::CorrelationState : SerializableTokenWrapper<EncryptedKeyToken^>
protected class MutualCertificate11Assertion.CorrelationState extends SerializableTokenWrapper<EncryptedKeyToken>
JScript does not support Generics.
Remarks
All assertions store data in the CorrelationState, and this particular assertion stores the EncryptedKeyToken used to secure the message in this state. On the client, the MutualCertificate11Assertion.ClientOutputFilter stores the EncryptedKeyToken in an instance of this class, that is then stored in the Web service client's OperationState. When a message is received, the MutualCertificate11Assertion.ClientOutputFilter processes this message to make sure that the incoming response was secured with the same EncryptedKeyToken as the request. In order to ensure this, it compares the EncryptedKeyToken that secured the incoming response with the EncryptedKeyToken that was stored in the CorrelationState, within the OperationState. This class inherits from a SerializableTokenWrapper, which means that this class can be serialized or deserialized to and from XML. Serializing this class to XML also serializes the EncryptedKeyToken that is configured within this class.
Inheritance Hierarchy
System.Object
Microsoft.Web.Services3.Security.SerializableTokenWrapper
Microsoft.Web.Services3.Design.MutualCertificate11Assertion.CorrelationState
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server
Target Platforms
See Also
Reference
MutualCertificate11Assertion.CorrelationState Members
Microsoft.Web.Services3.Design Namespace