Partager via


DRM_KeyID (Compact 2013)

3/26/2014

This attribute contains the key identifier.

Global Constant

g_wszWMDRM_KeyID

Data Type

WMT_TYPE_STRING

Remarks

The key ID is used together with the key seed to create the content key, which is used to encrypt and decrypt the file. The writer application uses the key ID to encrypt the file and then it stores the key ID in the file header. When a player application requests a license for a file, the DRM component sends the key ID (together with the rest of the DRM header) to the license server. The license server, which has the secret key seed, uses it and the key ID to create a key for the file. Then it inserts the key it created into a license together with the different rights that will be applied to the file.

Typically, one key seed is used with many key IDs. The key seed is a secret shared only by the content creator and the license distributor. The key ID is used by DRM client applications and is stored, unencrypted, in the DRM header.

This attribute is the same as DRM_DRMHeader_KeyID attribute.

Requirements

Header

dshow.h

Library

Strmiids.lib

See Also

Reference

Attribute List