This documentation is archived and is not being maintained.

SecurityTokenServiceClient.VerifyResponseConfidentiality Method

Verifies the response from the security token service has encrypted the appropriate element(s).

Namespace: Microsoft.Web.Services2.Security
Assembly: Microsoft.Web.Services2 (in microsoft.web.services2.dll)

'Usage
Public Class securityTokenServiceClientImplementation
	Inherits SecurityTokenServiceClient
		Protected Overrides Sub VerifyResponseConfidentiality(request As SecurityTokenMessage, _
			response As RequestSecurityTokenResponse)
			MyBase.VerifyResponseConfidentiality(request, response)
		End Sub
End Class

protected virtual void VerifyResponseConfidentiality(
	SecurityTokenMessage request, 
	RequestSecurityTokenResponse response
);
protected void VerifyResponseConfidentiality(
	SecurityTokenMessage request, 
	RequestSecurityTokenResponse response
);
protected function VerifyResponseConfidentiality(
	 request : SecurityTokenMessage, 
	 response : RequestSecurityTokenResponse
);

Parameters

request

A SecurityTokenMessage that represents the request made to the security token service.

response

A RequestSecurityTokenResponse that represents the response from the security token service.

Exception typeCondition
System.ArgumentNullException

request is null.

-or-

response is null.

TrustFault

response contains an <Entropy> element, which contains the requested entropy value, but the request does not contain an <Entropy> element.

-or-

response contains an entropy value that is less than 16 bytes long.

-or-

response contains an entropy value that is not encrypted using the entropy value sent in the request.

-or-

response contains a <ProofToken> element, which contains the requested security token that is not encrypted using the security token that signed the request.

The VerifyResponsePolicy method calls the VerifyResponseConfidentiality method.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000

Target Platforms

Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server, Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, Pocket PC, Windows CE, Smart Phone
Show: