Function ctru_sys::AM_ImportCertificates
source · pub unsafe extern "C" fn AM_ImportCertificates(
cert1Size: u32_,
cert1: *mut c_void,
cert2Size: u32_,
cert2: *mut c_void,
cert3Size: u32_,
cert3: *mut c_void,
cert4Size: u32_,
cert4: *mut c_void
) -> Result
Expand description
Imports up to four certificates into the ticket certificate chain.
§Arguments
cert1Size
- Size of the first certificate.cert1
- Data of the first certificate.cert2Size
- Size of the second certificate.cert2
- Data of the second certificate.cert3Size
- Size of the third certificate.cert3
- Data of the third certificate.cert4Size
- Size of the fourth certificate.cert4
- Data of the fourth certificate.