Share via


EncryptionUtils.EncryptSymmetricKeyData Method

Encrypts the symmetric key data.

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)

Syntax

'Declaration
Public Shared Function EncryptSymmetricKeyData ( _
    cert As X509Certificate2, _
    keyData As Byte() _
) As Byte()
'Usage
Dim cert As X509Certificate2 
Dim keyData As Byte()
Dim returnValue As Byte()

returnValue = EncryptionUtils.EncryptSymmetricKeyData(cert, _
    keyData)
public static byte[] EncryptSymmetricKeyData(
    X509Certificate2 cert,
    byte[] keyData
)
public:
static array<unsigned char>^ EncryptSymmetricKeyData(
    X509Certificate2^ cert, 
    array<unsigned char>^ keyData
)
static member EncryptSymmetricKeyData : 
        cert:X509Certificate2 * 
        keyData:byte[] -> byte[] 
public static function EncryptSymmetricKeyData(
    cert : X509Certificate2, 
    keyData : byte[]
) : byte[]

Parameters

Return Value

Type: array<System.Byte[]
The symmetric key data.

See Also

Reference

EncryptionUtils Class

Microsoft.WindowsAzure.MediaServices.Client Namespace