SSLC:OpenDefaultClientCertContext

From 3dbrew
Revision as of 18:03, 22 February 2016 by Yellows8 (talk | contribs) (Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x000E0040] |- | 2 | u8 certID |} =Response= {| class="wikitable" border="1"...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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.