Function ctru_sys::httpcSetClientCert
source · pub unsafe extern "C" fn httpcSetClientCert(
context: *mut httpcContext,
cert: *const u8_,
certsize: u32_,
privk: *const u8_,
privk_size: u32_
) -> Result
Expand description
Sets the ClientCert for a HTTP context.
§Arguments
context
- Context to use.cert
- Pointer to DER cert.certsize
- Size of the DER cert.privk
- Pointer to the DER private key.privk_size
- Size of the privk.