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
65 #define OE_CLAIM_ID_VERSION "id_version"
70 #define OE_CLAIM_SECURITY_VERSION "security_version"
75 #define OE_CLAIM_ATTRIBUTES "attributes"
80 #define OE_CLAIM_UNIQUE_ID "unique_id"
85 #define OE_CLAIM_SIGNER_ID "signer_id"
90 #define OE_CLAIM_PRODUCT_ID "product_id"
95 #define OE_CLAIM_FORMAT_UUID "format_uuid"
102 #define OE_REQUIRED_CLAIMS_COUNT 7
105 extern const char* OE_REQUIRED_CLAIMS[OE_REQUIRED_CLAIMS_COUNT];
119 #define OE_CLAIM_VALIDITY_FROM "validity_from"
124 #define OE_CLAIM_VALIDITY_UNTIL "validity_until"
131 #define OE_OPTIONAL_CLAIMS_COUNT 2
133 extern const char* OE_OPTIONAL_CLAIMS[OE_OPTIONAL_CLAIMS_COUNT];
143 #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:163
Struct containing the definition for an UUID.
Definition: evidence.h:43
_oe_policy_type
Supported policies for validation by the verifier attestation plugin.
Definition: evidence.h:149
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:51
@ 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:157
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.