Function ctru_sys::sslcAddTrustedRootCA
source · pub unsafe extern "C" fn sslcAddTrustedRootCA(
RootCertChain_contexthandle: u32_,
cert: *const u8_,
certsize: u32_,
cert_contexthandle: *mut u32_
) -> Result
Expand description
Adds a trusted RootCA cert to a RootCertChain.
§Arguments
RootCertChain_contexthandle
- RootCertChain to use.cert
- Pointer to the DER cert.certsize
- Size of the DER cert.