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.
Sign the given message using the key set for the given identifier.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function Sign ( _
requestContext As TeamFoundationRequestContext, _
identifier As Guid, _
message As Byte() _
) As Byte()
public byte[] Sign(
TeamFoundationRequestContext requestContext,
Guid identifier,
byte[] message
)
public:
array<unsigned char>^ Sign(
TeamFoundationRequestContext^ requestContext,
Guid identifier,
array<unsigned char>^ message
)
member Sign :
requestContext:TeamFoundationRequestContext *
identifier:Guid *
message:byte[] -> byte[]
public function Sign(
requestContext : TeamFoundationRequestContext,
identifier : Guid,
message : byte[]
) : byte[]
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context
identifier
Type: System.GuidThe identifier of the key set
message
Type: array<System.Byte[]The message to sign
Return Value
Type: array<System.Byte[]
Returns the signed message
.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.