2.2.1 \0x06DataSpaces\DataSpaceMap Stream

If the original document content is an Office binary document:

  • The \0x06DataSpaces\DataSpaceMap stream (1) MUST contain a DataSpaceMap structure (section 2.1.6) containing at least one DataSpaceMapEntry structure (section 2.1.6.1). The DataSpaceMapEntry structure:

    • MUST have a DataSpaceName equal to "0x09DRMDataSpace".

    • MUST have exactly one ReferenceComponents entry with the name "0x09DRMContent" and the type 0x00000000, which signifies a stream (1).

  • The \0x06DataSpaces\DataSpaceMap stream (1) MAY<2> contain a second DataSpaceMapEntry structure in the DataSpaceMap structure. The second DataSpaceMapEntry structure:

    • MUST have a DataSpaceName equal to "0x09LZXDRMDataSpace".

    • MUST have exactly one ReferenceComponents entry with the name "0x09DRMViewerContent" and the type 0x00000000, which signifies a stream (1).

If the original document content is an ECMA-376 document [ECMA-376]:

  • The \0x06DataSpaces\DataSpaceMap stream (1) MUST contain a DataSpaceMap structure containing exactly one DataSpaceMapEntry structure.

  • The DataSpaceMapEntry substructure:

    • MUST have a DataSpaceName equal to "DRMEncryptedDataSpace".

    • MUST have exactly one ReferenceComponents entry with the name "EncryptedPackage" and the type 0x00000000, which signifies a stream (1).