#[repr(transparent)]
pub struct quote3_error_t(pub c_uint);
Expand description

Possible errors generated by the quote interface.

Tuple Fields§

§0: c_uint

Implementations§

source§

impl quote3_error_t

source

pub const SGX_QL_SUCCESS: quote3_error_t = _

< Success

source§

impl quote3_error_t

source

pub const SGX_QL_ERROR_MIN: quote3_error_t = _

< Indicate min error to allow better translation.

source§

impl quote3_error_t

source

pub const SGX_QL_ERROR_UNEXPECTED: quote3_error_t = _

< Unexpected error

source§

impl quote3_error_t

source

pub const SGX_QL_ERROR_INVALID_PARAMETER: quote3_error_t = _

< The parameter is incorrect

source§

impl quote3_error_t

source

pub const SGX_QL_ERROR_OUT_OF_MEMORY: quote3_error_t = _

< Not enough memory is available to complete this operation

source§

impl quote3_error_t

source

pub const SGX_QL_ERROR_ECDSA_ID_MISMATCH: quote3_error_t = _

< Expected ECDSA_ID does not match the value stored in the ECDSA Blob

source§

impl quote3_error_t

source

pub const SGX_QL_PATHNAME_BUFFER_OVERFLOW_ERROR: quote3_error_t = _

< The ECDSA blob pathname is too large

source§

impl quote3_error_t

source

pub const SGX_QL_FILE_ACCESS_ERROR: quote3_error_t = _

< Error accessing ECDSA blob

source§

impl quote3_error_t

source

pub const SGX_QL_ERROR_STORED_KEY: quote3_error_t = _

< Cached ECDSA key is invalid

source§

impl quote3_error_t

source

pub const SGX_QL_ERROR_PUB_KEY_ID_MISMATCH: quote3_error_t = _

< Cached ECDSA key does not match requested key

source§

impl quote3_error_t

source

pub const SGX_QL_ERROR_INVALID_PCE_SIG_SCHEME: quote3_error_t = _

< PCE use the incorrect signature scheme

source§

impl quote3_error_t

source

pub const SGX_QL_ATT_KEY_BLOB_ERROR: quote3_error_t = _

< There is a problem with the attestation key blob.

source§

impl quote3_error_t

source

pub const SGX_QL_UNSUPPORTED_ATT_KEY_ID: quote3_error_t = _

< Unsupported attestation key ID.

source§

impl quote3_error_t

source

pub const SGX_QL_UNSUPPORTED_LOADING_POLICY: quote3_error_t = _

< Unsupported enclave loading policy.

source§

impl quote3_error_t

source

pub const SGX_QL_INTERFACE_UNAVAILABLE: quote3_error_t = _

< Unable to load the PCE enclave

source§

impl quote3_error_t

source

pub const SGX_QL_PLATFORM_LIB_UNAVAILABLE: quote3_error_t = _

< Unable to find the platform library with the dependent APIs. Not fatal.

source§

impl quote3_error_t

source

pub const SGX_QL_ATT_KEY_NOT_INITIALIZED: quote3_error_t = _

< The attestation key doesn’t exist or has not been certified.

source§

impl quote3_error_t

source

pub const SGX_QL_ATT_KEY_CERT_DATA_INVALID: quote3_error_t = _

< The certification data retrieved from the platform library is invalid.

source§

impl quote3_error_t

source

pub const SGX_QL_NO_PLATFORM_CERT_DATA: quote3_error_t = _

< The platform library doesn’t have any platfrom cert data.

source§

impl quote3_error_t

source

pub const SGX_QL_OUT_OF_EPC: quote3_error_t = _

< Not enough memory in the EPC to load the enclave.

source§

impl quote3_error_t

source

pub const SGX_QL_ERROR_REPORT: quote3_error_t = _

< There was a problem verifying an SGX REPORT.

source§

impl quote3_error_t

source

pub const SGX_QL_ENCLAVE_LOST: quote3_error_t = _

< Interfacing to the enclave failed due to a power transition.

source§

impl quote3_error_t

source

pub const SGX_QL_INVALID_REPORT: quote3_error_t = _

< Error verifying the application enclave’s report.

source§

impl quote3_error_t

source

pub const SGX_QL_ENCLAVE_LOAD_ERROR: quote3_error_t = _

< Unable to load the enclaves. Could be due to file I/O error, loading infrastructure error, or non-SGX capable system

source§

impl quote3_error_t

source

pub const SGX_QL_UNABLE_TO_GENERATE_QE_REPORT: quote3_error_t = _

< The QE was unable to generate its own report targeting the application enclave either < because the QE doesn’t support this feature there is an enclave compatibility issue. < Please call again with the p_qe_report_info to NULL.

source§

impl quote3_error_t

source

pub const SGX_QL_KEY_CERTIFCATION_ERROR: quote3_error_t = _

< Caused when the provider library returns an invalid TCB (too high).

source§

impl quote3_error_t

source

pub const SGX_QL_NETWORK_ERROR: quote3_error_t = _

< Network error when retrieving PCK certs

source§

impl quote3_error_t

source

pub const SGX_QL_MESSAGE_ERROR: quote3_error_t = _

< Message error when retrieving PCK certs

source§

impl quote3_error_t

source

pub const SGX_QL_NO_QUOTE_COLLATERAL_DATA: quote3_error_t = _

< The platform does not have the quote verification collateral data available.

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source

pub const SGX_QL_TCB_OUT_OF_DATE_CONFIGURATION_NEEDED: quote3_error_t = _

< TCB out of date and Configuration needed

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source

pub const SGX_QL_ERROR_INVALID_PRIVILEGE: quote3_error_t = _

< No enough privilege to perform the operation

source§

impl quote3_error_t

source

pub const SGX_QL_NO_QVE_IDENTITY_DATA: quote3_error_t = _

< The platform does not have the QVE identity data available.

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source

pub const SGX_QL_ERROR_QVL_QVE_MISMATCH: quote3_error_t = _

< Supplemental data size and version mismatched between QVL and QvE < Please make sure to use QVL and QvE from same release package

source§

impl quote3_error_t

source

pub const SGX_QL_TCB_SW_HARDENING_NEEDED: quote3_error_t = _

< TCB up to date but SW Hardening needed

source§

impl quote3_error_t

source

pub const SGX_QL_TCB_CONFIGURATION_AND_SW_HARDENING_NEEDED: quote3_error_t = _

< TCB up to date but Configuration and SW Hardening needed

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source§

impl quote3_error_t

source

pub const SGX_QL_PERSISTENT_STORAGE_ERROR: quote3_error_t = _

Unexpected error from the cache service

source§

impl quote3_error_t

source

pub const SGX_QL_ERROR_MESSAGE_PARSING_ERROR: quote3_error_t = _

Error storing the retrieved cached data in persistent memory

source§

impl quote3_error_t

source

pub const SGX_QL_PLATFORM_UNKNOWN: quote3_error_t = _

Message parsing error

source§

impl quote3_error_t

source

pub const SGX_QL_UNKNOWN_API_VERSION: quote3_error_t = _

Platform was not found in the cache

source§

impl quote3_error_t

source

pub const SGX_QL_CERTS_UNAVAILABLE: quote3_error_t = _

The current PCS API version configured is unknown

source§

impl quote3_error_t

source

pub const SGX_QL_QVEIDENTITY_MISMATCH: quote3_error_t = _

< QvE Identity is NOT match to Intel signed QvE identity

source§

impl quote3_error_t

source

pub const SGX_QL_QVE_OUT_OF_DATE: quote3_error_t = _

< QvE ISVSVN is smaller than the ISVSVN threshold, or input QvE ISVSVN is too small

source§

impl quote3_error_t

source

pub const SGX_QL_PSW_NOT_AVAILABLE: quote3_error_t = _

< SGX PSW library cannot be loaded, could be due to file I/O error

source§

impl quote3_error_t

source

pub const SGX_QL_COLLATERAL_VERSION_NOT_SUPPORTED: quote3_error_t = _

< SGX quote verification collateral version not supported by QVL/QvE

source§

impl quote3_error_t

source

pub const SGX_QL_TDX_MODULE_MISMATCH: quote3_error_t = _

< TDX SEAM module identity is NOT match to Intel signed TDX SEAM module

source§

impl quote3_error_t

source

pub const SGX_QL_QEIDENTITY_NOT_FOUND: quote3_error_t = _

< QE identity was not found

source§

impl quote3_error_t

source

pub const SGX_QL_TCBINFO_NOT_FOUND: quote3_error_t = _

< TCB Info was not found

source§

impl quote3_error_t

source

pub const SGX_QL_INTERNAL_SERVER_ERROR: quote3_error_t = _

< Internal server error

source§

impl quote3_error_t

source

pub const SGX_QL_SUPPLEMENTAL_DATA_VERSION_NOT_SUPPORTED: quote3_error_t = _

< The supplemental data version is not supported

source§

impl quote3_error_t

source

pub const SGX_QL_ROOT_CA_UNTRUSTED: quote3_error_t = _

< The certificate used to establish SSL session is untrusted

source§

impl quote3_error_t

source

pub const SGX_QL_TCB_NOT_SUPPORTED: quote3_error_t = _

< Current TCB level cannot be found in platform/enclave TCB info

source§

impl quote3_error_t

source

pub const SGX_QL_CONFIG_INVALID_JSON: quote3_error_t = _

< The QPL’s config file is in JSON format but has a format error

source§

impl quote3_error_t

source

pub const SGX_QL_RESULT_INVALID_SIGNATURE: quote3_error_t = _

< Invalid signature during quote verification

source§

impl quote3_error_t

source

pub const SGX_QL_ERROR_MAX: quote3_error_t = _

< Indicate max error to allow better translation.

Trait Implementations§

source§

impl Clone for quote3_error_t

source§

fn clone(&self) -> quote3_error_t

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for quote3_error_t

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Hash for quote3_error_t

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl PartialEq for quote3_error_t

source§

fn eq(&self, other: &quote3_error_t) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl Copy for quote3_error_t

source§

impl Eq for quote3_error_t

source§

impl StructuralPartialEq for quote3_error_t

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.