pub unsafe extern "C" fn tee_qv_get_collateral(
    p_quote: *const u8,
    quote_size: u32,
    pp_quote_collateral: *mut *mut u8,
    p_collateral_size: *mut u32
) -> quote3_error_t
Expand description

Get quote verification collateral.

@param p_quote[IN] - Pointer to TDX/SGX Quote. @param quote_size[IN] - Size of the buffer pointed to by p_quote (in bytes). @param p_quote_collateral[OUT] - This is a pointer to the Quote Certification Collateral retrieved based on Quote @param p_collateral_size[OUT] - This is the sizeof collateral including the size of nested fileds

@return Status code of the operation, one of: - SGX_QL_SUCCESS - SGX_QL_ERROR_INVALID_PARAMETER - SGX_QL_PLATFORM_LIB_UNAVAILABLE - SGX_QL_PCK_CERT_CHAIN_ERROR - SGX_QL_PCK_CERT_UNSUPPORTED_FORMAT - SGX_QL_QUOTE_FORMAT_UNSUPPORTED - SGX_QL_OUT_OF_MEMORY - SGX_QL_NO_QUOTE_COLLATERAL_DATA - SGX_QL_ERROR_UNEXPECTED