SSLC:RootCertChainAddDefaultCert

From 3dbrew
Revision as of 07:35, 9 December 2015 by Yellows8 (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00060080] |- | 1 | SSL RootCertChain context handle |- | 2 | Cert ID |} =Respon...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request

Index Word Description
0 Header code [0x00060080]
1 SSL RootCertChain context handle
2 Cert ID

Response

Index Word Description
0 Header code
1 Result code
2 Cert context handle.

CertIDs

ID Description
0x0 and >=0xC Invalid certID, error 0xd8e0b839 is returned for these.
0x1
0x2
0x3 "NINTENDO_CA_G3"
0x4
0x5
0x6 "NINTENDO_CLASS2_CA_G3"
0x7
0x8
0x9
0xA
0xB

Description

This adds the specified builtin root CA to the specified root-CA chain. When it's not already loaded, the DER cert is loaded from SSL module .data. Otherwise, already-loaded cert data is used for adding to the RootCertChain.