Function ctru_sys::httpcRootCertChainAddDefaultCert
source · pub unsafe extern "C" fn httpcRootCertChainAddDefaultCert(
RootCertChain_contexthandle: u32_,
certID: SSLC_DefaultRootCert,
cert_contexthandle: *mut u32_
) -> Result
Expand description
Adds a default RootCA cert to a RootCertChain.
§Arguments
RootCertChain_contexthandle
- RootCertChain to use.certID
- ID of the cert to add, see sslc.h.cert_contexthandle
- Optional output ptr for the cert contexthandle(this can be NULL).