Difference between revisions of "SSLC:OpenDefaultClientCertContext"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000E0040] |- | 2 | u8 certID |} =Response= {| class="wikitable" border="1"...")
 
m
Line 7: Line 7:
 
| 0
 
| 0
 
| Header code [0x000E0040]
 
| Header code [0x000E0040]
 
 
|-
 
|-
 
| 2
 
| 2

Revision as of 18:08, 22 February 2016

Request

Index Word Description
0 Header code [0x000E0040]
2 u8 certID

Response

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

CertIDs

ID Description
Non-0x40 Invalid certID, error 0xd8e0b839 is returned for this.
0x40 This is the client cert+privk from ClCertA. This data from ClCertA only gets loaded when there's no ClientCert context handles already open for this certID.

Description

This opens a ClientCert context for the specified default certID. This is for the TLS client cert+privk. Once the user-process is done using this context handle, that handle must be closed.