Difference between revisions of "SSLC:AddTrustedRootCA"

From 3dbrew
Jump to navigation Jump to search
m
 
(2 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| SSL context handle
+
| SSL RootCertChain context handle
 
|-
 
|-
 
| 2
 
| 2
Line 34: Line 34:
 
|-
 
|-
 
| 2
 
| 2
| ?
+
| Cert context handle.
 
|}
 
|}
  
 
=Description=
 
=Description=
This adds the specified root CA cert(DER format) to the trusted root CA cert chain, for this SSL session. The default trusted SSL root CA certs are the certs embedded in SSL module.
+
This adds the specified root CA cert(DER format) to the specified root-CA chain. This ''only'' adds it to the chain, the DER data is not parsed at all.

Latest revision as of 03:44, 14 December 2015

Request[edit]

Index Word Description
0 Header code [0x00050082]
1 SSL RootCertChain context handle
2 Root CA cert buffer size
3 (Size<<4) | 10
4 Pointer to input root CA cert data

Response[edit]

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

Description[edit]

This adds the specified root CA cert(DER format) to the specified root-CA chain. This only adds it to the chain, the DER data is not parsed at all.