Open Enclave  0.16.1

◆ oe_attester_select_format()

oe_result_t oe_attester_select_format ( const oe_uuid_t format_ids,
size_t  format_ids_length,
oe_uuid_t selected_format_id 
)

oe_attester_select_format

Selects the left-most evidence format from the input list that is supported. This function is only available in the enclave.

This feature is marked as experimental:
Parameters
[in]format_idsOrdered list of evidence format ids from which to select, with descending priority order from left to right.
[in]format_ids_lengthThe number of entries in the input evidence format id list.
[out]selected_format_idPointer to a caller-supplied buffer to hold the selected evidence format id.
Return values
OE_OKon success.
OE_INVALID_PARAMETERAt least one of the parameters is invalid.
OE_NOT_FOUNDif no format id in the input list is supported.
otherappropriate error code.