MessageProtectionRequirements.AreRequirementsSatisfied Method
Gets a value indicating whether the specified SOAP message meets the protection requirements.
Namespace: Microsoft.Web.Services3.Design
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)
Usage
'Usage
Dim filter As SoapFilter
Dim envelope As SoapEnvelope
Dim security As Security
Dim requireDerivedKeys As Boolean
Dim messageProtectionOrder As MessageProtectionOrder
Dim requireSignatureConfirmation As Boolean
Dim signatureTokenType As Type
Dim encryptionTokenType As Type
Dim basicAttachedTokenType As Type
Dim tokenFromRequest As SecurityToken
Dim returnValue As Boolean
Dim messageProtectionRequirements1 As MessageProtectionRequirements
returnValue = messageProtectionRequirements1.AreRequirementsSatisfied(filter, envelope, security, requireDerivedKeys, messageProtectionOrder, requireSignatureConfirmation, signatureTokenType, encryptionTokenType, basicAttachedTokenType, tokenFromRequest)
Syntax
'Declaration
Public Function AreRequirementsSatisfied( _
ByVal filter As SoapFilter, _
ByVal envelope As SoapEnvelope, _
ByVal security As Security, _
ByVal requireDerivedKeys As Boolean, _
ByVal messageProtectionOrder As MessageProtectionOrder, _
ByVal requireSignatureConfirmation As Boolean, _
ByVal signatureTokenType As Type, _
ByVal encryptionTokenType As Type, _
ByVal basicAttachedTokenType As Type, _
ByVal tokenFromRequest As SecurityToken _
) As Boolean
public bool AreRequirementsSatisfied(
SoapFilter filter,
SoapEnvelope envelope,
Security security,
bool requireDerivedKeys,
MessageProtectionOrder messageProtectionOrder,
bool requireSignatureConfirmation,
Type signatureTokenType,
Type encryptionTokenType,
Type basicAttachedTokenType,
SecurityToken tokenFromRequest
);
public:
bool AreRequirementsSatisfied(
SoapFilter^ filter,
SoapEnvelope^ envelope,
Security^ security,
bool requireDerivedKeys,
MessageProtectionOrder messageProtectionOrder,
bool requireSignatureConfirmation,
Type^ signatureTokenType,
Type^ encryptionTokenType,
Type^ basicAttachedTokenType,
SecurityToken^ tokenFromRequest
);
public boolean AreRequirementsSatisfied(
SoapFilter filter,
SoapEnvelope envelope,
Security security,
boolean requireDerivedKeys,
MessageProtectionOrder messageProtectionOrder,
boolean requireSignatureConfirmation,
Type signatureTokenType,
Type encryptionTokenType,
Type basicAttachedTokenType,
SecurityToken tokenFromRequest
);
public function AreRequirementsSatisfied(
filter : SoapFilter,
envelope : SoapEnvelope,
security : Security,
requireDerivedKeys : Boolean,
messageProtectionOrder : MessageProtectionOrder,
requireSignatureConfirmation : Boolean,
signatureTokenType : Type,
encryptionTokenType : Type,
basicAttachedTokenType : Type,
tokenFromRequest : SecurityToken
) : Boolean;
Parameters
- filter
A SoapFilter that represents the SOAP filter that applies to this SOAP message.
- envelope
A SoapEnvelope that represents the SOAP message.
- security
A Security that represents the Security SOAP header.
- requireDerivedKeys
true to use DerivedKeyToken security tokens; otherwise, false.
- messageProtectionOrder
A MessageProtectionOrder that specifies the order of operation for digital signatures and message encryption.
- requireSignatureConfirmation
true to have a Web service send a confirmation that verifies the client's digital signature and to have the client reject SOAP responses without a signature confirmation; otherwise, false.
- signatureTokenType
A System.Type that is the security token type that must have digitally signed the SOAP message.
- encryptionTokenType
A System.Type that is the security token type that must have encrypted the SOAP message.
- basicAttachedTokenType
A System.Type that is an attached security token that did not digitally sign or encrypt the SOAP message.
- tokenFromRequest
A SecurityToken security token that digitally signed the corresponding SOAP request.
Return Value
true if the SOAP message meets the protection requirements; otherwise, false.
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
MessageProtectionRequirements Class
MessageProtectionRequirements Members
Microsoft.Web.Services3.Design Namespace