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_ids | Ordered list of evidence format ids from which to select, with descending priority order from left to right. |
[in] | format_ids_length | The number of entries in the input evidence format id list. |
[out] | selected_format_id | Pointer to a caller-supplied buffer to hold the selected evidence format id. |
- Return values
-
OE_OK | on success. |
OE_INVALID_PARAMETER | At least one of the parameters is invalid. |
OE_NOT_FOUND | if no format id in the input list is supported. |
other | appropriate error code. |