IContentKey.GetEncryptedKeyValue Method
Returns the value of the encrypted key.
Namespace: Microsoft.WindowsAzure.MediaServices.Client
Assembly: Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)
Syntax
'Declaration
Function GetEncryptedKeyValue ( _
certToEncryptTo As X509Certificate2 _
) As Byte()
'Usage
Dim instance As IContentKey
Dim certToEncryptTo As X509Certificate2
Dim returnValue As Byte()
returnValue = instance.GetEncryptedKeyValue(certToEncryptTo)
byte[] GetEncryptedKeyValue(
X509Certificate2 certToEncryptTo
)
array<unsigned char>^ GetEncryptedKeyValue(
X509Certificate2^ certToEncryptTo
)
abstract GetEncryptedKeyValue :
certToEncryptTo:X509Certificate2 -> byte[]
function GetEncryptedKeyValue(
certToEncryptTo : X509Certificate2
) : byte[]
Parameters
- certToEncryptTo
Type: System.Security.Cryptography.X509Certificates.X509Certificate2
The X509Certificate2 to protect the key with.
Return Value
Type: array<System.Byte[]
The value of the encrypted key.