MF_PD_ASF_CONTENTENCRYPTION_KEYID attribute

Specifies the key identifier for an encrypted Advanced Systems Format (ASF) file. This attribute corresponds to the Key ID field of the Content Encryption Header, defined in the ASF specification.

Data type

Wide-character string

Remarks

This attribute applies to presentation descriptors for ASF content.

The IMFASFContentInfo::GeneratePresentationDescriptor method retrieves the Key ID field, converts it into a wide-character string, and then populates a null-terminated array of WCHARs. The size of the array equals the Key ID Length field of the Content Encryption Header.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Wmcontainer.h

See also

Alphabetical List of Media Foundation Attributes
IMFAttributes::GetString
IMFAttributes::SetString
IMFPresentationDescriptor
Presentation Descriptor Attributes
ASF Header Object
Presentation Descriptors

 

 

Show: