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
-
enclave | The instance of the enclave that will be used to verify a local report. For remote reports, this parameter can be NULL. |
report | The buffer containing the report to verify. |
report_size | The size of the report buffer. |
parsed_report | Optional oe_report_t structure to populate with the report properties in a standard format. |
- Return values
-
OE_OK | The report was successfully created. |
OE_INVALID_PARAMETER | At least one parameter is invalid. |