RootLicenseContentKey Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents the key used to encrypt the key in the leaf license.
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
- Inheritance
- Implements
Remarks
All content keys have a key identifier put into the header of the content which identifies what key was used to encrypt that content. The key identifier can also be used with a key seed value to generate the content key. This method of key generation means that the service does not have to store a large database of content keys. However, content keys can be generated using any cryptographically sound manner.
Constructors
RootLicenseContentKey(Byte[], Guid) |
Initializes a new instance of the RootLicenseContentKey class. The key is specified by the caller. |
RootLicenseContentKey(Guid, Byte[]) |
Initializes a new instance of the RootLicenseContentKey class. The key is auto-generated by the SDK using a key seed. |
Properties
BindingKeyType |
Gets the binding key type of the content key. |
EncryptionType |
Gets the ContentKeyType of the content key. (Inherited from ContentKey) |
KeyId |
Gets the key identifier of the content key. (Inherited from ContentKey) |
KeyIdAsString |
Gets the string representation of the key identifier of the content key. (Inherited from ContentKey) |
KeyType |
Gets the ContentKeyType for this key. |
UplinkKeyId |
Gets the uplink key identifier that is used to find the root license in license chain bindings. |
Methods
GetKeyData() |
Gets the binary key data of the content key. (Inherited from ContentKey) |
GetKeyIdAsString() |
Returns the string representation of the key identifier of the content key. Returns the same value as KeyIdAsString (Inherited from ContentKey) |