Line 48:
Line 48:
| Data for the 4 content sections are stored here.
| Data for the 4 content sections are stored here.
| AES-CTR
| AES-CTR
+
|}
+
+
=Header=
+
{| class="wikitable" border="1"
+
|-
+
! Offset
+
! Size
+
! Description
+
|-
+
| 0x0
+
| 0x38
+
| Unknown
+
|-
+
| 0x38
+
| 0x8
+
| TWL TitleID for the exported title.
+
|-
+
| 0x40
+
| 0x60
+
| ?
+
|}
+
+
=Footer=
+
{| class="wikitable" border="1"
+
|-
+
! Offset
+
! Size
+
! Description
+
|-
+
| 0x0
+
| 0xD0
+
| Hashes?
+
|-
+
| 0xD0
+
| 0xE0
+
| Normally all-zero?
+
|-
+
| 0x1B0
+
| 0x20
+
| SHA256 hash?
+
|-
+
| 0x1D0
+
| 0x20
+
| Normally all-zero?
+
|-
+
| 0x1F0
+
| 0x3C
+
| ECDSA signature over the previous data, signed by the AP cert?
+
|-
+
| 0x22C
+
| 0x180
+
| ECDSA "APXXXXXXXXXXXXXXXX" cert signed by the [[CTCert]], where X is random ASCII hex data.
+
|-
+
| 0x3AC
+
| 0x54
+
| ECDSA certificate, the last 0x14-bytes here are all-zero.
|}
|}