Open Enclave  0.13.0

◆ oe_parse_report()

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

Parse an enclave report into a standard format for reading.

Parameters
[in]reportThe buffer containing the report to parse.
[in]report_sizeThe size of the report buffer.
[out]parsed_reportThe oe_report_t structure to populate with the report properties in a standard format. The parsed_report holds pointers to fields within the supplied report and must not be used beyond the lifetime of the report.
Return values
OE_OKThe report was successfully created.
OE_INVALID_PARAMETERAt least one parameter is invalid.