Open Enclave  0.13.0

◆ oe_verify_report()

oe_result_t oe_verify_report ( const uint8_t *  report,
size_t  report_size,
oe_report_t parsed_report 
)

Verify the integrity of the report and its signature.

This function verifies that the report signature is valid. If the report is local, it verifies that it is correctly signed by the enclave platform. If the report is remote, it verifies that the signing authority is rooted to a trusted authority such as the enclave platform manufacturer.

Parameters
[in]reportThe buffer containing the report to verify.
[in]report_sizeThe size of the report buffer.
[out]parsed_reportOptional oe_report_t structure to populate with the report properties in a standard format.
Return values
OE_OKThe report was successfully created.
OE_INVALID_PARAMETERAt least one parameter is invalid.