Crate rust_sgx_util

Source
Expand description

A safe wrapper around Graphene’s sgx_util C-library.

rust-sgx-util = "0.2"

For serde support, you can enable it with with_serde feature:

rust-sgx-util = { version = "0.2", features = ["with_serde"] }

§Prerequisites

Currently, this crate requires you compile and install sgx_util as a shared library.

§Usage examples

You can find usage examples in the examples dir of the crate.

Structs§

  • Represents EPID group ID.
  • Represents a handle to Intel’s Attestation Service. It allows the user to perform operations such as getting a SigRL for a specified GroupId, or verifying a specified quote with the IAS.
  • A thin wrapper around vector of bytes. Represents nonce obtained from the challenged enclave.
  • A thin wrapper around vector of bytes. Represents quote obtained from the challenged enclave.
  • A thin wrapper around vector of bytes. Stores the result of IasHandle::get_sigrl function call, i.e., the SigRL for the specified GroupId.

Enums§

  • Error type thrown by fallible operations in this crate.

Functions§

Type Aliases§

  • Convenience wrapper around fallible operation.