Go to the documentation of this file.
12 #ifndef _OE_BITS_EVIDENCE_H
13 #define _OE_BITS_EVIDENCE_H
24 #define OE_EVIDENCE_ATTRIBUTES_SGX_DEBUG OE_REPORT_ATTRIBUTES_DEBUG
28 #define OE_EVIDENCE_ATTRIBUTES_SGX_REMOTE OE_REPORT_ATTRIBUTES_REMOTE
32 #define OE_EVIDENCE_ATTRIBUTES_RESERVED \
33 (~(OE_EVIDENCE_ATTRIBUTES_SGX_DEBUG | OE_EVIDENCE_ATTRIBUTES_SGX_REMOTE))
38 #define OE_UUID_SIZE 16
43 #define OE_UEID_SIZE 33
48 #define OE_UEID_TYPE_RAND 0x01
49 #define OE_UEID_TYPE_IEEE_EUI 0x02
50 #define OE_UEID_TYPE_IMEI 0x03
77 #define OE_CLAIM_ID_VERSION "id_version"
82 #define OE_CLAIM_SECURITY_VERSION "security_version"
87 #define OE_CLAIM_ATTRIBUTES "attributes"
92 #define OE_CLAIM_UNIQUE_ID "unique_id"
97 #define OE_CLAIM_SIGNER_ID "signer_id"
102 #define OE_CLAIM_PRODUCT_ID "product_id"
107 #define OE_CLAIM_FORMAT_UUID "format_uuid"
114 #define OE_REQUIRED_CLAIMS_COUNT 7
117 extern const char* OE_REQUIRED_CLAIMS[OE_REQUIRED_CLAIMS_COUNT];
132 #define OE_CLAIM_TCB_STATUS "tcb_status"
138 #define OE_CLAIM_TCB_DATE "tcb_date"
143 #define OE_CLAIM_VALIDITY_FROM "validity_from"
148 #define OE_CLAIM_VALIDITY_UNTIL "validity_until"
153 #define OE_CLAIM_UEID "ueid"
158 #define OE_CLAIM_HARDWARE_MODEL "hardware_model"
165 #define OE_OPTIONAL_CLAIMS_COUNT 6
167 extern const char* OE_OPTIONAL_CLAIMS[OE_OPTIONAL_CLAIMS_COUNT];
177 #define OE_CLAIM_CUSTOM_CLAIMS_BUFFER "custom_claims_buffer"
#define OE_UUID_SIZE
The size of a UUID in bytes.
Definition: evidence.h:38
Generic struct for defining policy for the attestation plugins.
Definition: evidence.h:206
Struct containing the definition for an UUID.
Definition: evidence.h:55
@ OE_POLICY_ENDORSEMENTS_BASELINE
Enforces a baseline of endorsements that is defined and used by third party endorsements info caching...
Definition: evidence.h:200
_oe_policy_type
Supported policies for validation by the verifier attestation plugin.
Definition: evidence.h:183
struct _oe_claim oe_claim_t
Claims struct used for claims parameters for the attestation plugins.
Claims struct used for claims parameters for the attestation plugins.
Definition: evidence.h:63
@ OE_POLICY_ENDORSEMENTS_TIME
Enforces that time fields in the endorsements will be checked with the given time rather than the end...
Definition: evidence.h:191
enum _oe_policy_type oe_policy_type_t
Supported policies for validation by the verifier attestation plugin.
struct _oe_policy oe_policy_t
Generic struct for defining policy for the attestation plugins.
struct _oe_uuid_t oe_uuid_t
Struct containing the definition for an UUID.