Function ctru_sys::sslcRootCertChainAddDefaultCert
source · pub unsafe extern "C" fn sslcRootCertChainAddDefaultCert(
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.cert_contexthandle
- Optional, the cert contexthandle can be written here.