BOSSU:RegisterPrivateClientCert

From 3dbrew
Jump to navigation Jump to search

Request[edit]

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[edit]

Index Word Description
0
Header 0x00060044 Cmd 0x0006 Param 1 Xlat 4
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[edit]

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.