Freigeben über


TeamFoundationSigningService.Sign Method (TeamFoundationRequestContext, Guid, array<Byte , SigningAlgorithm)

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(), _
    algorithm As SigningAlgorithm _
) As Byte()
public byte[] Sign(
    TeamFoundationRequestContext requestContext,
    Guid identifier,
    byte[] message,
    SigningAlgorithm algorithm
)
public:
array<unsigned char>^ Sign(
    TeamFoundationRequestContext^ requestContext, 
    Guid identifier, 
    array<unsigned char>^ message, 
    SigningAlgorithm algorithm
)
member Sign : 
        requestContext:TeamFoundationRequestContext * 
        identifier:Guid * 
        message:byte[] * 
        algorithm:SigningAlgorithm -> byte[] 
public function Sign(
    requestContext : TeamFoundationRequestContext, 
    identifier : Guid, 
    message : byte[], 
    algorithm : SigningAlgorithm
) : byte[]

Parameters

  • identifier
    Type: System.Guid

    The 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

See Also

Reference

TeamFoundationSigningService Class

Sign Overload

Microsoft.TeamFoundation.Framework.Server Namespace