MutualCertificate10Assertion.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 mutualCertificate10Assertion_ClientInputFilter1 As MutualCertificate10Assertion.ClientInputFilter
mutualCertificate10Assertion_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 pre-processed security header from the response message.
  • 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 null,a SecurityFault exception is thrown. If the UsernameForCertificateAssertion.CorrelationState for the envelope 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

MutualCertificate10Assertion.ClientInputFilter Class
MutualCertificate10Assertion.ClientInputFilter Members
Microsoft.Web.Services3.Design Namespace