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.
Encrypt the passed in data by 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 Encrypt ( _
requestContext As TeamFoundationRequestContext, _
identifier As Guid, _
rawData As Byte() _
) As Byte()
public byte[] Encrypt(
TeamFoundationRequestContext requestContext,
Guid identifier,
byte[] rawData
)
public:
array<unsigned char>^ Encrypt(
TeamFoundationRequestContext^ requestContext,
Guid identifier,
array<unsigned char>^ rawData
)
member Encrypt :
requestContext:TeamFoundationRequestContext *
identifier:Guid *
rawData:byte[] -> byte[]
public function Encrypt(
requestContext : TeamFoundationRequestContext,
identifier : Guid,
rawData : byte[]
) : byte[]
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context
identifier
Type: System.GuidThe identifier of the keyset
rawData
Type: array<System.Byte[]The data to encrypt
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.