2.2.1.7 LicenseToSend
The LicenseToSend structure is a container for an arbitrary number of variable-length licenses. It is passed to the Digital Rights Management License Protocol by the higher layer. This structure is used in the TransmitLicensesToClient abstract interface (section 3.2.1.1).
-
typedef struct _LicenseToSend { int LicenseVersion; int LicenseLength; byte License[]; } LicenseToSend;
LicenseVersion: The version of the license included in this structure.
-
Value
Meaning
1
License is constructed for DRM version 1.
7
License is constructed for DRM version 7.
LicenseLength: The length, in bytes, of the license included in this structure.
License: A byte array containing the license constructed by the higher layer. This field is LicenseLength bytes in length. The format of the license is implementation-dependent.