Open Enclave  0.16.1

◆ oe_verify_attestation_certificate_with_evidence()

oe_result_t oe_verify_attestation_certificate_with_evidence ( uint8_t *  certificate_in_der,
size_t  certificate_in_der_size,
oe_verify_claims_callback_t  claim_verify_callback,
void *  arg 
)

oe_verify_attestation_certificate_with_evidence

This function performs a custom validation on the input certificate. This validation includes extracting an attestation evidence extension from the certificate before validating this evidence. An optional claim_verify_callback could be passed in for a calling client to further validate the claims of the enclave creating the certificate. OE_FAILURE is returned if the expected certificate extension OID is not found.

Deprecated:
Parameters
[in]certificate_in_derA pointer to buffer holding certificate contents in DER format.
[in]certificate_in_der_sizeSize of certificate buffer above.
[in]claim_verify_callbackCallback routine for custom claim checking.
[in]argAn optional context pointer argument specified by the caller when setting callback.
Return values
OE_OKSuccessful validation.
OE_VERIFY_FAILEDQuote failure.
OE_INVALID_PARAMETEROne or more invalid parameters.
OE_FAILUREGeneral failure.
Otherappropriate error code.