Changes

Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00060080] |- | 1 | SSL RootCertChain context handle |- | 2 | Cert ID |} =Respon..."
=Request=
{| class="wikitable" border="1"
|-
! Index Word
! Description
|-
| 0
| Header code [0x00060080]
|-
| 1
| SSL RootCertChain context handle
|-
| 2
| Cert ID
|}

=Response=
{| class="wikitable" border="1"
|-
! Index Word
! Description
|-
| 0
| Header code
|-
| 1
| Result code
|-
| 2
| Cert context handle.
|}

=CertIDs=
{| class="wikitable" border="1"
|-
! 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.