Open Enclave  0.5.x
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.

reportThe buffer containing the report to parse.
report_sizeThe size of the report buffer.
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.