pub unsafe extern "C" fn httpcRootCertChainAddCert(
    RootCertChain_contexthandle: u32_,
    cert: *const u8_,
    certsize: u32_,
    cert_contexthandle: *mut u32_
) -> Result
Expand description

Adds a RootCA cert to a RootCertChain.

§Arguments

  • RootCertChain_contexthandle - RootCertChain to use.
  • cert - Pointer to DER cert.
  • certsize - Size of the DER cert.
  • cert_contexthandle - Optional output ptr for the cert contexthandle(this can be NULL).