Go to the documentation of this file.
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);
146 const unsigned char* subject_name,
147 uint8_t* private_key,
148 size_t private_key_size,
150 size_t public_key_size,
151 uint8_t** output_certificate,
152 size_t* output_certificate_size);
186 const unsigned char* subject_name,
187 uint8_t* private_key,
188 size_t private_key_size,
190 size_t public_key_size,
191 const void* optional_parameters,
192 size_t optional_parameters_size,
193 uint8_t** output_certificate,
194 size_t* output_certificate_size);
oe_result_t oe_attester_shutdown(void)
oe_attester_shutdown
Struct containing the definition for an UUID.
Definition: evidence.h:55
oe_result_t oe_free_endorsements(uint8_t *endorsements_buffer)
oe_free_endorsements
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_certificate, size_t *output_certificate_size)
oe_get_attestation_certificate_with_evidence
oe_result_t oe_attester_initialize(void)
oe_attester_initialize
oe_result_t oe_free_evidence(uint8_t *evidence_buffer)
oe_free_evidence
oe_result_t oe_get_attestation_certificate_with_evidence_v2(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, const void *optional_parameters, size_t optional_parameters_size, uint8_t **output_certificate, size_t *output_certificate_size)
oe_get_attestation_certificate_with_evidence_v2
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