Open Enclave  0.15.0
Data Structures | Macros | Typedefs | Enumerations
evidence.h File Reference
#include "defs.h"
#include "report.h"
#include "types.h"
Include dependency graph for evidence.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _oe_uuid_t
 Struct containing the definition for an UUID. More...
 
struct  _oe_claim
 Claims struct used for claims parameters for the attestation plugins. More...
 
struct  _oe_policy
 Generic struct for defining policy for the attestation plugins. More...
 

Macros

#define OE_EVIDENCE_ATTRIBUTES_SGX_DEBUG   OE_REPORT_ATTRIBUTES_DEBUG
 Bit mask for evidence of an SGX enclave in debug mode.
 
#define OE_EVIDENCE_ATTRIBUTES_SGX_REMOTE   OE_REPORT_ATTRIBUTES_REMOTE
 Bit mask for evidence of an SGX enclave for remote attestation.
 
#define OE_EVIDENCE_ATTRIBUTES_RESERVED   (~(OE_EVIDENCE_ATTRIBUTES_SGX_DEBUG | OE_EVIDENCE_ATTRIBUTES_SGX_REMOTE))
 Reserved bits.
 
#define OE_UUID_SIZE   16
 The size of a UUID in bytes.
 
#define OE_CLAIM_ID_VERSION   "id_version"
 Claims version.
 
#define OE_CLAIM_SECURITY_VERSION   "security_version"
 Security version of the enclave (SVN for SGX).
 
#define OE_CLAIM_ATTRIBUTES   "attributes"
 Attributes flags for the evidence.
 
#define OE_CLAIM_UNIQUE_ID   "unique_id"
 The unique ID for the enclave (MRENCLAVE for SGX).
 
#define OE_CLAIM_SIGNER_ID   "signer_id"
 The signer ID for the enclave (MRSIGNER for SGX).
 
#define OE_CLAIM_PRODUCT_ID   "product_id"
 The product ID for the enclave (ISVPRODID for SGX).
 
#define OE_CLAIM_FORMAT_UUID   "format_uuid"
 The format id of the evidence.
 
#define OE_CLAIM_VALIDITY_FROM   "validity_from"
 Overall datetime from which the evidence and endorsements are valid.
 
#define OE_CLAIM_VALIDITY_UNTIL   "validity_until"
 Overall datetime at which the evidence and endorsements expire.
 
#define OE_CLAIM_CUSTOM_CLAIMS_BUFFER   "custom_claims_buffer"
 Custom claims in a flat buffer, for evidence generated by oe_get_evidence().
 

Typedefs

typedef struct _oe_uuid_t oe_uuid_t
 Struct containing the definition for an UUID.
 
typedef struct _oe_claim oe_claim_t
 Claims struct used for claims parameters for the attestation plugins.
 
typedef enum _oe_policy_type oe_policy_type_t
 Supported policies for validation by the verifier attestation plugin. More...
 
typedef struct _oe_policy oe_policy_t
 Generic struct for defining policy for the attestation plugins.
 

Enumerations

enum  _oe_policy_type { OE_POLICY_ENDORSEMENTS_TIME = 1 }
 Supported policies for validation by the verifier attestation plugin. More...
 

Detailed Description

This file defines structures and options for SGX evidence generation and verification.