Open Enclave  0.8.0
Data Structures | Macros | Typedefs | Enumerations | Variables
report.h File Reference

This file defines structures and options passed to oe_get_report functions. More...

#include "defs.h"
#include "types.h"
Include dependency graph for report.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _oe_identity
 Structure to represent the identity of an enclave. More...
 
struct  _oe_report
 Structure to hold the parsed form of a report. More...
 
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_REPORT_FLAGS_REMOTE_ATTESTATION   0x00000001
 Flags passed to oe_get_report functions on host and enclave. More...
 
#define OE_REPORT_DATA_SIZE   64
 Size of embedded data in a local report.
 
#define OE_MAX_REPORT_SIZE   (10 * 1024)
 Maximum report size supported by OE. More...
 
#define OE_UUID_SIZE   16
 The size of a UUID in bytes.
 
#define OE_CLAIM_ID_VERSION   "id_version"
 Claims that are known to OE that every attestation plugin should output.
 
#define OE_CLAIM_SECURITY_VERSION   "security_version"
 
#define OE_CLAIM_ATTRIBUTES   "attributes"
 
#define OE_CLAIM_UNIQUE_ID   "unique_id"
 
#define OE_CLAIM_SIGNER_ID   "signer_id"
 
#define OE_CLAIM_PRODUCT_ID   "product_id"
 
#define OE_CLAIM_PLUGIN_UUID   "plugin_uuid"
 
#define OE_REQUIRED_CLAIMS_COUNT   7
 
#define OE_CLAIM_VALIDITY_FROM   "validity_from"
 Additional optional claims that are known to OE that plugins can output.
 
#define OE_CLAIM_VALIDITY_UNTIL   "validity_until"
 
#define OE_OPTIONAL_CLAIMS_COUNT   2
 

Typedefs

typedef struct _oe_identity oe_identity_t
 Structure to represent the identity of an enclave. More...
 
typedef struct _oe_report oe_report_t
 Structure to hold the parsed form of a report. More...
 
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...
 

Variables

const char * OE_REQUIRED_CLAIMS [OE_REQUIRED_CLAIMS_COUNT]
 
const char * OE_OPTIONAL_CLAIMS [OE_OPTIONAL_CLAIMS_COUNT]
 

Detailed Description

This file defines structures and options passed to oe_get_report functions.