Function switchboard_attestation_client::sgx_dcap_quoteverify_rs::tee_get_supplemental_data_version_and_size
source · pub fn tee_get_supplemental_data_version_and_size(
quote: &[u8]
) -> Result<(u32, u32), quote3_error_t>Expand description
Get supplemental data latest version and required size, support both SGX and TDX
Param
- quote
SGX/TDX Quote, presented as u8 vector.
Return
Result type of (version, data_size) tuple
- version
Latest version of the supplemental data. - data_size
The size of the buffer in bytes required to contain all of the supplemental data.