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"...")
 
 
(One intermediate revision by the same user not shown)
Line 7: Line 7:
 
| 0
 
| 0
 
| Header code [0x000E0040]
 
| Header code [0x000E0040]
 
 
|-
 
|-
| 2
+
| 1
 
| u8 certID
 
| u8 certID
 
|}
 
|}

Latest revision as of 18:09, 22 February 2016

Request[edit]

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

Response[edit]

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

CertIDs[edit]

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[edit]

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.