12 #ifndef _OE_ATTESTATION_VERIFIER_H 13 #define _OE_ATTESTATION_VERIFIER_H 56 size_t* format_ids_length);
92 size_t* settings_size);
163 const uint8_t* evidence_buffer,
164 size_t evidence_buffer_size,
165 const uint8_t* endorsements_buffer,
166 size_t endorsements_buffer_size,
168 size_t policies_size,
170 size_t* claims_length);
181 size_t claims_length,
207 uint8_t* cert_in_der,
208 size_t cert_in_der_len,
oe_result_t oe_verifier_shutdown(void)
oe_verifier_shutdown
Generic struct for defining policy for the attestation plugins.
Definition: evidence.h:163
This file defines the types used by the OE SDK.
oe_result_t oe_verifier_get_format_settings(const oe_uuid_t *format_id, uint8_t **settings, size_t *settings_size)
oe_verifier_get_format_settings
This file defines structures and options for SGX evidence generation and verification.
oe_result_t oe_verify_evidence(const oe_uuid_t *format_id, const uint8_t *evidence_buffer, size_t evidence_buffer_size, const uint8_t *endorsements_buffer, size_t endorsements_buffer_size, const oe_policy_t *policies, size_t policies_size, oe_claim_t **claims, size_t *claims_length)
oe_verify_evidence
oe_result_t(* oe_verify_claims_callback_t)(oe_claim_t *claims, size_t claims_length, void *arg)
Type definition for a claims verification callback.
Definition: verifier.h:179
Claims struct used for claims parameters for the attestation plugins.
Definition: evidence.h:51
This file defines Open Enclave return codes (results).
enum _oe_result oe_result_t
This enumeration type defines return codes for Open Enclave functions.
Struct containing the definition for an UUID.
Definition: evidence.h:43
oe_result_t oe_verifier_free_formats(oe_uuid_t *format_ids)
oe_verifier_free_formats
oe_result_t oe_verifier_get_formats(oe_uuid_t **format_ids, size_t *format_ids_length)
oe_verifier_get_formats
oe_result_t oe_verifier_initialize(void)
oe_verifier_initialize
oe_result_t oe_free_claims(oe_claim_t *claims, size_t claims_length)
oe_free_claims
oe_result_t oe_verifier_free_format_settings(uint8_t *settings)
oe_verifier_free_format_settings
oe_result_t oe_verify_attestation_certificate_with_evidence(uint8_t *cert_in_der, size_t cert_in_der_len, oe_verify_claims_callback_t claim_verify_callback, void *arg)
oe_verify_attestation_certificate_with_evidence