|
|
◆ oe_deserialize_custom_claims()
| oe_result_t oe_deserialize_custom_claims |
( |
const uint8_t * |
claims_buffer, |
|
|
size_t |
claims_buffer_size, |
|
|
oe_claim_t ** |
claims_out, |
|
|
size_t * |
claims_length_out |
|
) |
| |
oe_deserialize_custom_claims
Deserialize custom claim buffer
- Parameters
-
| [in] | claims_buffer | Pointer to the serialized custom claims buffer. |
| [in] | claims_buffer_size | Size of the serialized custom claims buffer buffer. |
| [out] | claims_out | Pointer to the address of a dynamically allocated buffer holding the list of custom claims. |
| [out] | claims_length_out | The length of the claims_out list. |
- Return values
-
| OE_OK | The function was successful. |
| OE_INVALID_PARAMETER | At least one parameter is invalid. |
| OE_CONSTRAINT_FAILED | The serialized custom claims buffer size is too small or invalid. |
| OE_OUT_OF_MEMORY | Failed to allocate memory. |
| OE_UNEXPECTED | An unexpected error happened. |
|