Struct SPackageHeader#

Struct Documentation#

struct SPackageHeader#

Installation package header V1.0.

Todo:

Add signature information to prevent change after creation.

The installation package is composed as follows:

+--------------------------------------------------+
| package header structure                         |
| optional info                                    |
| checksum                                         |
+--------------------------------------------------+
| 1st BLOB header                                  |
| BLOB content (e.g. file content)                 |
| BLOB checksum                                    |
+--------------------------------------------------+
| 2nd BLOB header                                  |
| BLOB content (e.g. file content)                 |
| BLOB checksum                                    |
+--------------------------------------------------+
| ...                                              |
+--------------------------------------------------+
| nth BLOB header                                  |
| BLOB content  (e.g. installation manifest)       |
| BLOB checksum                                    |
+--------------------------------------------------+
| package footer - checksum of package             |
+--------------------------------------------------+

Todo:

Add signature information to prevent change after creation.

The installation package is composed as follows:

+--------------------------------------------------+
| package header structure                         |
| optional info                                    |
| checksum                                         |
+--------------------------------------------------+
| 1st BLOB header                                  |
| BLOB content (e.g. file content)                 |
| BLOB checksum                                    |
+--------------------------------------------------+
| 2nd BLOB header                                  |
| BLOB content (e.g. file content)                 |
| BLOB checksum                                    |
+--------------------------------------------------+
| ...                                              |
+--------------------------------------------------+
| nth BLOB header                                  |
| BLOB content  (e.g. installation manifest)       |
| BLOB checksum                                    |
+--------------------------------------------------+
| package footer - checksum of package             |
+--------------------------------------------------+

Public Members

EEndian eEndian#

Describes whether the data is in big or in little endian.

uint8_t uiReserved#

Reserved for alignment measures. Mus be 0.

uint16_t uiVersion#

Structure version (major * 100 + minor).

uint32_t uiOffset#

Offset to the 1st package BLOB.

uint8_t rguiSignature[8]#

Signature ‘SDV_IPCK’.

uint64_t uiCreationDate#

Creation date (micro-seconds since 1st January 1970).

sdv::u8string ssManifest#

Installation manifest.

uint8 uiReserved

Reserved for alignment measures. Mus be 0.

uint16 uiVersion

Structure version (major * 100 + minor).

uint32 uiOffset

Offset to the 1st package BLOB.

uint8 rguiSignature[8]

Signature ‘SDV_IPCK’.

uint64 uiCreationDate

Creation date (micro-seconds since 1st January 1970).

u8string ssManifest

Installation manifest.