SSLC:AddTrustedRootCA: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 9: Line 9:
|-
|-
| 1
| 1
| SSL context handle
| SSL RootCertChain context handle
|-
|-
| 2
| 2
| Root CA cert buffer size
| Root CA cert buffer size
|-
|-
| 4
| 3
| (Size<<4)  <nowiki>|</nowiki> 10
| (Size<<4)  <nowiki>|</nowiki> 10
|-
|-
| 5
| 4
| Pointer to input root CA cert data
| Pointer to input root CA cert data
|}
|}
Line 34: Line 34:
|-
|-
| 2
| 2
| ?
| Cert context handle.
|}
|}


=Description=
=Description=
This specifies the root CA cert(DER format) to use with this SSL session, instead of using the default SSL root CA certs embedded in the 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

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

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

Description

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.