TeamFoundationSigningService.Decrypt Method
Decrypt the passed in data, using the given key set
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function Decrypt ( _
requestContext As TeamFoundationRequestContext, _
identifier As Guid, _
encryptedData As Byte(), _
algorithm As SigningAlgorithm _
) As Byte()
public byte[] Decrypt(
TeamFoundationRequestContext requestContext,
Guid identifier,
byte[] encryptedData,
SigningAlgorithm algorithm
)
public:
array<unsigned char>^ Decrypt(
TeamFoundationRequestContext^ requestContext,
Guid identifier,
array<unsigned char>^ encryptedData,
SigningAlgorithm algorithm
)
member Decrypt :
requestContext:TeamFoundationRequestContext *
identifier:Guid *
encryptedData:byte[] *
algorithm:SigningAlgorithm -> byte[]
public function Decrypt(
requestContext : TeamFoundationRequestContext,
identifier : Guid,
encryptedData : byte[],
algorithm : SigningAlgorithm
) : byte[]
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context
identifier
Type: System.GuidThe identifier of the keyset
- encryptedData
Type: array<System.Byte[]
algorithm
Type: Microsoft.TeamFoundation.Framework.Server.SigningAlgorithmThe SigningAlgorithm to use [Default: SHA1]
Return Value
Type: array<System.Byte[]
Encrypted data
.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.