BOSSU:RegisterPrivateClientCert: Difference between revisions
Jump to navigation
Jump to search
DaniElectra (talk | contribs) Created page with "=Request= {{IPC/Request}} {{IPC/RequestHeader|0x0006|2|4}} {{IPC/RequestEntry|u32, Client certificate size}} {{IPC/RequestEntry|u32, Client certificate key size}} {{IPC/MapPoi..." |
DaniElectra (talk | contribs) m Use correct response |
||
Line 11: | Line 11: | ||
{{IPC/Request}} | {{IPC/Request}} | ||
{{#vardefine:ipc_offset|0}} | {{#vardefine:ipc_offset|0}} | ||
{{IPC/RequestHeader| | {{IPC/RequestHeader|0x0006|1|4}} | ||
{{IPC/RequestEntry|Result code}} | {{IPC/RequestEntry|Result code}} | ||
{{IPC/MapPointerR|Input | {{IPC/MapPointerR|Input client certificate buffer}} | ||
{{IPC/MapPointerR|Input client certificate key buffer}} | |||
{{IPC/RequestEnd}} | {{IPC/RequestEnd}} | ||
Revision as of 16:03, 1 February 2025
Request
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | u32, Client certificate size | ||||||||
2 | u32, Client certificate key size | ||||||||
3 | Descriptor for mapping a read-only buffer in the target process | ||||||||
4 | Input client certificate buffer | ||||||||
5 | Descriptor for mapping a read-only buffer in the target process | ||||||||
6 | Input client certificate key buffer |
Response
Index Word | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 |
| ||||||||
1 | Result code | ||||||||
2 | Descriptor for mapping a read-only buffer in the target process | ||||||||
3 | Input client certificate buffer | ||||||||
4 | Descriptor for mapping a read-only buffer in the target process | ||||||||
5 | Input client certificate key buffer |
Description
This registers a private client certificate to be used by BOSS for the program ID of the current session. The certificate is saved to the BOSS savedata as: "bossdb:/%s_CL" and the certificate key is saved as: "bossdb:/%s_CLK", where %s goes the program ID Base85/Ascii85 encoded.