BOSSU:RegisterPrivateRootCa

From 3dbrew
Jump to navigation Jump to search

Request[edit]

Index Word Description
0
Header 0x00050042 Cmd 0x0005 Param 1 Xlat 2
1 u32, Buffer size
2 Descriptor for mapping a read-only buffer in the target process
3 Input root CA buffer

Response[edit]

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

This registers a private root 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_CA%d", where %s goes the program ID Base85/Ascii85 encoded and %d is the index of the root certificate.