BOSSU:RegisterPrivateClientCert

From 3dbrew
Revision as of 16:02, 1 February 2025 by 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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0
Header 0x00060084 Cmd 0x0006 Param 2 Xlat 4
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
Header 0x00050042 Cmd 0x0005 Param 1 Xlat 2
1 Result code
2 Descriptor for mapping a read-only buffer in the target process
3 Input root CA 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.