interface OpenEnclave {
    verifyOpenEnclaveEvidence(format, evidence, endorsements?): EvidenceClaims;
}

Methods

  • Verifies Open Enclave evidence and returns the claims of the evidence.

    Parameters

    • format: undefined | string

      The optional format id of the evidence to be verified as a UUID of the form "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx". If this parameter is undefined, the evidence and endorsement must either contain data with an attestation header holding a valid format id, or be an Open Enclave report generated by the legacy API function oe_get_report(). Otherwise, this parameter must be a valid format id, and the evidence and endorsements data must not be wrapped with an attestation header.

    • evidence: ArrayBuffer
    • Optional endorsements: ArrayBuffer

    Returns EvidenceClaims