Function ctru_sys::httpcOpenClientCertContext
source · pub unsafe extern "C" fn httpcOpenClientCertContext(
cert: *const u8_,
certsize: u32_,
privk: *const u8_,
privk_size: u32_,
ClientCert_contexthandle: *mut u32_
) -> Result
Expand description
Opens a ClientCert-context. Up to 2 ClientCert-contexts can be open under this user-process.
§Arguments
cert
- Pointer to DER cert.certsize
- Size of the DER cert.privk
- Pointer to the DER private key.privk_size
- Size of the privk.ClientCert_contexthandle
- Output ClientCert context handle.