12 #ifndef _OE_ATTESTATION_ATTESTER_H 13 #define _OE_ATTESTATION_ATTESTER_H 17 #error "The header attester.h is only available for the enclave." 32 #define OE_EVIDENCE_FLAGS_EMBED_FORMAT_ID 0x00000001 72 size_t format_ids_length,
109 const void* custom_claims_buffer,
110 size_t custom_claims_buffer_size,
111 const void* optional_parameters,
112 size_t optional_parameters_size,
113 uint8_t** evidence_buffer,
114 size_t* evidence_buffer_size,
115 uint8_t** endorsements_buffer,
116 size_t* endorsements_buffer_size);
144 const unsigned char* subject_name,
145 uint8_t* private_key,
146 size_t private_key_size,
148 size_t public_key_size,
149 uint8_t** output_cert,
150 size_t* output_cert_size);
oe_result_t oe_attester_initialize(void)
oe_attester_initialize
This file defines the types used by the OE SDK.
oe_result_t oe_free_evidence(uint8_t *evidence_buffer)
oe_free_evidence
This file defines structures and options for SGX evidence generation and verification.
oe_result_t oe_free_endorsements(uint8_t *endorsements_buffer)
oe_free_endorsements
This file defines Open Enclave return codes (results).
oe_result_t oe_get_evidence(const oe_uuid_t *format_id, uint32_t flags, const void *custom_claims_buffer, size_t custom_claims_buffer_size, const void *optional_parameters, size_t optional_parameters_size, uint8_t **evidence_buffer, size_t *evidence_buffer_size, uint8_t **endorsements_buffer, size_t *endorsements_buffer_size)
oe_get_evidence
enum _oe_result oe_result_t
This enumeration type defines return codes for Open Enclave functions.
oe_result_t oe_attester_select_format(const oe_uuid_t *format_ids, size_t format_ids_length, oe_uuid_t *selected_format_id)
oe_attester_select_format
Struct containing the definition for an UUID.
Definition: evidence.h:43
oe_result_t oe_attester_shutdown(void)
oe_attester_shutdown
oe_result_t oe_get_attestation_certificate_with_evidence(const oe_uuid_t *format_id, const unsigned char *subject_name, uint8_t *private_key, size_t private_key_size, uint8_t *public_key, size_t public_key_size, uint8_t **output_cert, size_t *output_cert_size)
oe_get_attestation_certificate_with_evidence