Changes

Jump to navigation Jump to search
Split ticket into ticket and ticket view (feel free to correct the offsets, I probably messed up at least one but the lengths are fine)
! Description
|-
| 0x00000x000| 0x00030x003| 0x040x004
| Signature type (always 0x10001 for RSA-2048)
|-
| 0x00040x004| 0x01030x103
| 0x100
| Signature of ticket view by a [[certificate chain|certificate's]] key
|-
| 0x01040x104| 0x013F0x2A3| 0x3C0x19F| Ticket view|} === Ticket view ==={| class="wikitable"|-! Start! End! Length! Description|-| 0x000| 0x03B| 0x03C
| Padding (Always 0 - everything after this field is covered by the above signature)
|-
| 0x01400x03C| 0x017F0x07B| 0x400x040
| Signature issuer
|-
| 0x01800x07B| 0x01BB0x0B7| 0x3C0x03C
| ECDH data, used to generate one-time key during install of console specific titles
|-
| 0x01BC0x0B7| 0x01BE0x0BA| 0x030x003
| Unused/Padding
|-
| 0x01BF0x0BA| 0x01CE0x0CA| 0x100x010
| Title Key, encrypted by Common Key
|-
| 0x01CF0x0CA| 0x01CF0x0CA| 0x010x001
| Unknown
|-
| 0x01D00x0CA| 0x01D70x0D2| 0x080x008
| ticket_id (used as IV for title key decryption of console specific titles)
 
|-
| 0x01D80x0D2| 0x01DB0x0D6| 0x040x004
| Console ID
|-
| 0x01DC0x0D6| 0x01E30x0DE| 0x080x008
| Title ID / [http://en.wikipedia.org/wiki/Initialization_Vector Initialization Vector] (IV) used for AES-[http://en.wikipedia.org/wiki/Cipher_Block_Chaining#Cipher-block_chaining_.28CBC.29 CBC] encryption
|-
| 0x01E40x0DE| 0x01E50x0E0| 0x020x002
| Unknown, mostly 0xFFFF
|-
| 0x01E60x0E0| 0x01E70x0E2| 0x020x002
| Ticket title version
|-
| 0x01E80x0E2| 0x01EB0x0E4| 0x040x002
| Permitted Titles Mask
|-
| 0x01EC0x0E4| 0x01EF0x0E8| 0x040x004
| Permit mask. The current disc title is ANDed with the inverse of this mask to see if the result matches the Permitted Titles Mask.
|-
| 0x01F00x0E8| 0x01F00x0E9| 0x010x001
| Title Export allowed using PRNG key (1 = allowed, 0 = not allowed)
|-
| 0x01F10x0E9| 0x01F10x0EA| 0x010x001
| Common Key index (2 = [http://wiiubrew.org/wiki/WiiMode Wii U Wii mode], 1 = Korean Common key, 0 = "normal" Common key)
|-
| 0x01F20x0EB| 0x02210x11B| 0x300x030
| Unknown. Is all 0 for non-VC, for VC, all 0 except last byte is 1.
|-
| 0x02220x11B| 0x02610x15B| 0x400x040
| Content access permissions (one bit for each content)
|-
| 0x02620x15B| 0x02630x15D| 0x020x002
| Padding (Always 0)
|-
| 0x02640x15D| 0x02670x161| 0x040x004
| Enable time limit (1 = Enabled, 0 = Disabled)
|-
| 0x02680x161| 0x026B0x165| 0x040x004
| Time limit (Seconds)
|-
| 0x026C0x165| 0x02A30x19D| 0x380x038
| 7 more time_limit structs as above ({int enable, seconds})
|}

Navigation menu