AnonymousForCertificateAssertion.ClientInputFilter.ValidateMessageSecurity Method (SoapEnvelope, Security, MessageProtectionRequirements)
Validates the SoapEnvelope, Security and the MessageProtectionRequirements for a SOAP message.
Namespace: Microsoft.Web.Services3.Design
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim envelope As SoapEnvelope
Dim security As Security
Dim response As MessageProtectionRequirements
Dim anonymousForCertificateAssertion_ClientInputFilter1 As AnonymousForCertificateAssertion.ClientInputFilter
anonymousForCertificateAssertion_ClientInputFilter1.ValidateMessageSecurity(envelope, security, response)
Syntax
'Declaration
Overloads Public Overrides Sub ValidateMessageSecurity( _
ByVal envelope As SoapEnvelope, _
ByVal security As Security, _
ByVal response As MessageProtectionRequirements _
)
public override void ValidateMessageSecurity(
SoapEnvelope envelope,
Security security,
MessageProtectionRequirements response
);
public:
virtual void ValidateMessageSecurity(
SoapEnvelope^ envelope,
Security^ security,
MessageProtectionRequirements^ response
) override;
public override void ValidateMessageSecurity(
SoapEnvelope envelope,
Security security,
MessageProtectionRequirements response
);
public override function ValidateMessageSecurity(
envelope : SoapEnvelope,
security : Security,
response : MessageProtectionRequirements
) : Void;
Parameters
- envelope
The content of a SOAP message.
- security
The security header that is added to the SOAP request.
- response
The protection requirements for a SOAP message
Remarks
If the envelope parameter is null a System.ArgumentNullException is thrown. If the security parameter is nulla SecurityFault exception is thrown. If the UsernameForCertificateAssertion.CorrelationState for the envelope is null or the encrypted key token is null then a System.InvalidOperationException is thrown. If message protection requirements are not met for the response, a SecurityFault is thrown.
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
AnonymousForCertificateAssertion.ClientInputFilter Class
AnonymousForCertificateAssertion.ClientInputFilter Members
Microsoft.Web.Services3.Design Namespace