Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Validate the given signed message. Returns true if the message successfully validated.
The original message payload is also returned.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function Validate ( _
requestContext As TeamFoundationRequestContext, _
identifier As Guid, _
encodedMessageHash As Byte(), _
signature As Byte() _
) As Boolean
public bool Validate(
TeamFoundationRequestContext requestContext,
Guid identifier,
byte[] encodedMessageHash,
byte[] signature
)
public:
bool Validate(
TeamFoundationRequestContext^ requestContext,
Guid identifier,
array<unsigned char>^ encodedMessageHash,
array<unsigned char>^ signature
)
member Validate :
requestContext:TeamFoundationRequestContext *
identifier:Guid *
encodedMessageHash:byte[] *
signature:byte[] -> bool
public function Validate(
requestContext : TeamFoundationRequestContext,
identifier : Guid,
encodedMessageHash : byte[],
signature : byte[]
) : boolean
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context
identifier
Type: System.GuidThe identifier of the key set to use
- encodedMessageHash
Type: array<System.Byte[]
- signature
Type: array<System.Byte[]
Return Value
Type: System.Boolean
True if the message successfully validates
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.