SSLC:RootCertChainAddDefaultCert

Revision as of 16:22, 9 December 2015 by Yellows8 (talk | contribs) (→‎CertIDs)

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 Cert parsing output Notes
0x0 and >=0xC Invalid certID, error 0xd8e0b839 is returned for these.
0x1
Certificate:
   Data:
       Version: 3 (0x2)
       Serial Number: 0 (0x0)
   Signature Algorithm: sha1WithRSAEncryption
       Issuer: C=US, ST=Washington, O=Nintendo of America Inc, OU=NOA, CN=Nintendo CA/emailAddress=ca@noa.nintendo.com
       Validity
           Not Before: Aug 10 07:02:22 2005 GMT
           Not After : Dec 28 12:00:00 2049 GMT
       Subject: C=US, ST=Washington, O=Nintendo of America Inc, OU=NOA, CN=Nintendo CA/emailAddress=ca@noa.nintendo.com
       Subject Public Key Info:
           Public Key Algorithm: rsaEncryption
               Public-Key: (1024 bit)
               Modulus:
                   00:b3:cd:79:97:77:5d:8a:af:86:a8:e8:d7:73:1c:
                   ...
               Exponent: 65537 (0x10001)
       X509v3 extensions:
           X509v3 Subject Key Identifier: 
               7B:57:53:3F:31:AC:77:71:F1:FD:4A:E6:0F:43:B0:D5:55:41:9F:D2
       ...
0x2
Certificate:
   Data:
       Version: 3 (0x2)
       Serial Number: 1 (0x1)
   Signature Algorithm: sha1WithRSAEncryption
       Issuer: C=US, ST=Washington, O=Nintendo of America Inc., OU=IS, CN=Nintendo CA - G2/emailAddress=ca@noa.nintendo.com
       Validity
           Not Before: Jun  4 17:39:49 2008 GMT
           Not After : Dec 28 12:00:00 2049 GMT
       Subject: C=US, ST=Washington, O=Nintendo of America Inc., OU=IS, CN=Nintendo CA - G2/emailAddress=ca@noa.nintendo.com
       Subject Public Key Info:
           Public Key Algorithm: rsaEncryption
               Public-Key: (2048 bit)
               Modulus:
                   00:9d:69:36:28:b4:83:62:5e:f4:b4:fe:40:ef:dc:
                   ...
               Exponent: 65537 (0x10001)
       X509v3 extensions:
           X509v3 Subject Key Identifier: 
               96:A7:A1:9F:81:5C:73:C9:64:10:83:7F:B6:1E:1E:87:B7:E1:33:11
       ...
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.