AMPXI:GetCTCert: Difference between revisions
Jump to navigation
Jump to search
TimmSkiller (talk | contribs) No edit summary |
|||
| (One intermediate revision by one other user not shown) | |||
| Line 9: | Line 9: | ||
|- | |- | ||
| 1 | | 1 | ||
| | | Output size | ||
|- | |- | ||
| 2 | | 2 | ||
| <nowiki>(Size<<8) | 0x4</nowiki> | | <nowiki>(Size << 8) | 0x4</nowiki> | ||
|- | |- | ||
| 3 | | 3 | ||
| | | Output pointer | ||
|} | |} | ||
| Line 25: | Line 25: | ||
|- | |- | ||
| 0 | | 0 | ||
| Header code | | Header code [0x003B0080] | ||
|- | |- | ||
| 1 | | 1 | ||
| Line 31: | Line 31: | ||
|- | |- | ||
| 2 | | 2 | ||
| Output | | Output s32. Internal pxi:am9 result code. | ||
|} | |} | ||
=Description= | =Description= | ||
This returns the [[CTCert]] 0x180-byte certificate for the current system. The size must match 0x180, otherwise Process9 executes [[SVC|svcBreak]]. | This returns the [[CTCert]] 0x180-byte certificate for the current system. The size must match 0x180, otherwise Process9 executes [[SVC|svcBreak]]. | ||
Latest revision as of 21:26, 8 June 2025
Request
| Index Word | Description |
|---|---|
| 0 | Header code [0x003B0042] |
| 1 | Output size |
| 2 | (Size << 8) | 0x4 |
| 3 | Output pointer |
Response
| Index Word | Description |
|---|---|
| 0 | Header code [0x003B0080] |
| 1 | Result code |
| 2 | Output s32. Internal pxi:am9 result code. |
Description
This returns the CTCert 0x180-byte certificate for the current system. The size must match 0x180, otherwise Process9 executes svcBreak.