pub fn tee_qv_get_collateral(
quote: &[u8]
) -> Result<QuoteCollateral, quote3_error_t>Expand description
Get quote verification collateral.
§Param
- quote
SGX/TDX Quote, presented as u8 vector.
§Return
Result type of quote_collecteral.
- quote_collateral
This is the Quote Certification Collateral retrieved based on Quote.
Status code of the operation, one of:
- 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