Επεξεργασία

Κοινή χρήση μέσω


DRM_HeaderSignPrivKey

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The DRM_HeaderSignPrivKey property contains the private key used to sign the ASF header.

Global Constant

g_wszWMDRM_HeaderSignPrivKey

Data Type

WMT_TYPE_STRING

Remarks

This property is generated using the IWMDRMWriter::GenerateSigningKeyPair. Keep this key secret and share the public key only with the license service. After you set this key, the DRM component will use it to sign the ASF file header (not the DRM header which is signed with the digital signature object values such as DRM_LASignaturePrivKey). Obviously, DRM_HeaderSignPrivKey is not included in the file headert.

This property is not accessible from the reader object. It can be set from the writer object using IWMDRMWriter::SetDRMAttribute.

See also

DRM Properties