Open Enclave  0.14.0
custom_claims.h
Go to the documentation of this file.
1 // Copyright (c) Open Enclave SDK contributors.
2 // Licensed under the MIT License.
3 
12 #ifndef _OE_CUSTOM_CLAIMS
13 #define _OE_CUSTOM_CLAIMS
14 
17 
18 OE_EXTERNC_BEGIN
19 #define OE_CUSTOM_CLAIMS_VERSION 1
20 
30 oe_result_t oe_free_serialized_custom_claims(uint8_t* custom_claims_buffer);
31 
42  oe_claim_t* custom_claims,
43  size_t custom_claims_length);
44 
61  const oe_claim_t* custom_claims,
62  size_t custom_claims_length,
63  uint8_t** claims_out,
64  size_t* claims_size_out);
65 
85  const uint8_t* claims_buffer,
86  size_t claims_buffer_size,
87  oe_claim_t** claims_out,
88  size_t* claims_length_out);
89 OE_EXTERNC_END
90 
91 #endif //_OE_CUSTOM_CLAIMS
oe_result_t oe_free_custom_claims(oe_claim_t *custom_claims, size_t custom_claims_length)
oe_free_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
This file defines structures and options for SGX evidence generation and verification.
Claims struct used for claims parameters for the attestation plugins.
Definition: evidence.h:51
This file defines Open Enclave return codes (results).
enum _oe_result oe_result_t
This enumeration type defines return codes for Open Enclave functions.
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
oe_result_t oe_free_serialized_custom_claims(uint8_t *custom_claims_buffer)
oe_free_serialized_custom_claims