Editing RIF

Jump to navigation Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 2: Line 2:
<br>
<br>
Stands for Rights Information File
Stands for Rights Information File
= Structure =


{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-
! Offset !! Size !! Notes !! Sample
! Offset !! Size !! Notes  
|-
|-
| 0x00 || 2 || Version (shared with act.dat) || {{hex|00 00}}
| 0x00 || 2 || Version (shared with act.dat)
|-
|-
| 0x02 || 2 || Version flag (shared with act.dat) || {{hex|00 01}}
| 0x02 || 2 || Version flag (shared with act.dat)
|-
|-
| 0x04 || 2 || DRM Type || {{hex|00 00}}
| 0x04 || 2 || DRM Type
|-
|-
| 0x06 || 2 || License Flags || {{hex|00 02}}
| 0x06 || 2 || License Flags
|-
|-
| 0x08 || 8 || NP Account ID (in little-endian) for Network and Local DRM, 8 first bytes of sha-1 of some key for Free DRM. || Omitted
| 0x08 || 8 || NP Account ID (in little-endian) for Network and Local DRM, 8 first bytes of sha-1 of some key for Free DRM.
|-
|-
| 0x10 || 0x30 || Content ID || {{hex|UP9000-NPUJ00067_00-0000000000000001}}
| 0x10 || 0x30 || Content ID
|-
|-
| 0x40 || 0x10 || Encrypted account keyring index for Network and Local DRM, 12 last bytes of sha-1 of some key + 4 bytes of zeroes for Free DRM. || {{hex|55 A8 E0 D7 18 BD 02 D8 4C E4 9B FE 1F 5D B7 3E}}
| 0x40 || 0x10 || Encrypted account keyring index for Network and Local DRM, 12 last bytes of sha-1 of some key + 4 bytes of zeroes for Free DRM.
|-
|-
| 0x50 || 0x10 || Encrypted RIF Key || {{hex|E6 DC A3 92 00 B5 11 4B 64 6A 34 BF 37 39 C3 F3}}
| 0x50 || 0x10 || Encrypted RIF Key
|-
|-
| 0x60 || 8 || License start time (unix timestamp hex) || {{hex|00 00 01 27 50 A5 59 B0}}
| 0x60 || 8 || License start time
|-
|-
| 0x68 || 8 || License expiration time || {{hex|00 00 00 00 00 00 00 00}} (Never)
| 0x68 || 8 || License expiration time
|-
| 0x70 || 0x14 || ECDSA Signature R || {{hex|3F 72 EE BF 3B 70 0C 68 EC CE BD C2 04 33 46 11 5F 2D A2 E6}}
|-
| 0x84 || 0x14 || ECDSA Signature S || {{hex|C8 49 6A 14 CF A9 EC F6 08 B9 86 D3 56 2C BB EB BA 90 2B F3}}
|-
|-
| 0x70 || 0x28 || ECDSA Signature
|}
|}
Please note that all contributions to PSP Developer wiki are considered to be released under the GNU Free Documentation License 1.2 (see PSP Developer wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following hCaptcha:

Cancel Editing help (opens in new window)

Template used on this page: