AESContentKey 類別

定義

表示用來使用 AES 演算法加密 PlayReady 內容的金鑰。

public class AESContentKey : Microsoft.Media.Drm.ContentKey
type AESContentKey = class
    inherit ContentKey
Public Class AESContentKey
Inherits ContentKey
繼承
AESContentKey

備註

所有內容金鑰都有一個金鑰識別碼放入內容的標頭中,以識別用來加密該內容的金鑰。 金鑰識別碼也可以與金鑰種子值搭配使用,以產生內容金鑰。 這個金鑰產生方法表示服務不需要儲存大型內容金鑰資料庫。 不過,可以使用任何密碼編譯健全的方式產生內容金鑰。

建構函式

AESContentKey(Byte[], Guid)

使用 AES128BitCTR 模式, AESContentKey 初始化 類別的新實例。 內容金鑰是由呼叫端所指定。

AESContentKey(Byte[], Guid, ContentKeyType)

使用指定的 AESContentKey 初始化 ContentKeyType 類別的新執行個體。 內容金鑰是由呼叫端所指定。

AESContentKey(Guid, Byte[])

使用 AES128BitCTR 模式, AESContentKey 初始化 類別的新實例。 內容金鑰是由 SDK 使用金鑰種子自動產生。

AESContentKey(Guid, Byte[], ContentKeyType)

使用指定的 AESContentKey 初始化 ContentKeyType 類別的新執行個體。 內容金鑰是由 SDK 使用金鑰種子自動產生。

屬性

EncryptionType

ContentKeyType取得內容索引鍵的 。

(繼承來源 ContentKey)
KeyId

取得內容金鑰的金鑰識別碼。

(繼承來源 ContentKey)
KeyIdAsString

取得內容金鑰之金鑰識別碼的字串表示。

(繼承來源 ContentKey)
KeyType

ContentKeyType取得內容索引鍵的 。

方法

GetKeyData()

取得內容索引鍵的二進位索引鍵資料。

(繼承來源 ContentKey)
GetKeyIdAsString()

傳回內容金鑰之金鑰識別碼的字串表示。 傳回與 相同的值 KeyIdAsString

(繼承來源 ContentKey)

適用於