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§
- GroupId
- Represents EPID group ID.
- IasHandle
- 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. - Nonce
- A thin wrapper around vector of bytes. Represents nonce obtained from the challenged enclave.
- Quote
- A thin wrapper around vector of bytes. Represents quote obtained from the challenged enclave.
- Sigrl
- A thin wrapper around vector of bytes. Stores the result of
IasHandle::get_sigrlfunction call, i.e., the SigRL for the specifiedGroupId.
Enums§
- Error
- Error type thrown by fallible operations in this crate.
Functions§
- set_
verbose - Set verbosity on/off.
Type Aliases§
- Result
- Convenience wrapper around fallible operation.