BOSSU:RegisterPrivateClientCert: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
DaniElectra (talk | contribs)
m Use correct response
DaniElectra (talk | contribs)
m Description: Clarify ascii85 encoding
 
Line 19: Line 19:
=Description=
=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.
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 Ascii85 encoded.

Latest revision as of 18:56, 21 August 2025

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 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

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 Ascii85 encoded.