RootLicenseContentKey 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示用于在叶许可证中加密密钥的密钥。
public class RootLicenseContentKey : Microsoft.Media.Drm.ContentKey, Microsoft.Media.Drm.IBindingKey
type RootLicenseContentKey = class
inherit ContentKey
interface IBindingKey
Public Class RootLicenseContentKey
Inherits ContentKey
Implements IBindingKey
- 继承
- 实现
注解
所有内容密钥都有一个密钥标识符放入内容的标头中,用于标识用于加密该内容的密钥。 密钥标识符还可以与密钥种子值一起使用,以生成内容密钥。 这种密钥生成方法意味着服务不必存储内容密钥的大型数据库。 但是,可以使用任何加密方式生成内容密钥。
构造函数
RootLicenseContentKey(Byte[], Guid) |
初始化 RootLicenseContentKey 类的新实例。 键由调用方指定。 |
RootLicenseContentKey(Guid, Byte[]) |
初始化 RootLicenseContentKey 类的新实例。 密钥由 SDK 使用密钥种子自动生成。 |
属性
BindingKeyType |
获取内容密钥的绑定键类型。 |
EncryptionType |
ContentKeyType获取内容键的 。 (继承自 ContentKey) |
KeyId |
获取内容密钥的密钥标识符。 (继承自 ContentKey) |
KeyIdAsString |
获取内容密钥的密钥标识符的字符串表示形式。 (继承自 ContentKey) |
KeyType |
ContentKeyType获取此键的 。 |
UplinkKeyId |
获取用于在许可证链绑定中查找根许可证的上行密钥标识符。 |
方法
GetKeyData() |
获取内容密钥的二进制密钥数据。 (继承自 ContentKey) |
GetKeyIdAsString() |
返回内容密钥的密钥标识符的字符串表示形式。 返回与 KeyIdAsString (继承自 ContentKey) |