Open Enclave  0.16.1

◆ oe_serialize_custom_claims()

oe_result_t oe_serialize_custom_claims ( const oe_claim_t custom_claims,
size_t  custom_claims_length,
uint8_t **  claims_out,
size_t *  claims_size_out 
)

oe_serialize_custom_claims

Serializes a list of custom claims.

Parameters
[in]custom_claimsCustom claims to serialize.
[in]custom_claims_lengthLength of custom_claims.
[out]claims_outPointer to the address of a dynamically allocated buffer holding the serialized custom claims.
[out]claims_size_outSize of the serialized custom claims.
Return values
OE_OKThe function was successful.
OE_INVALID_PARAMETERAt least one parameter is invalid.
OE_OUT_OF_MEMORYFailed to allocate memory.
OE_UNEXPECTEDAn unexpected error happened.