Enum dcap_ql::Quote3Error[][src]

#[repr(C)]pub enum Quote3Error {
    Success,
    InvalidParameter,
    OutOfMemory,
    EcdsaIdMismatch,
    PathnameBufferOverflow,
    FileAccessError,
    StoredKeyInvalid,
    PubKeyIdMismatch,
    InvalidPceSigScheme,
    AttKeyBlobInvalid,
    UnsupportedAttKeyId,
    UnsupportedLoadingPolicy,
    InterfaceUnavailable,
    PlatformLibUnavailable,
    AttKeyNotInitialized,
    AttKeyCertDataInvalid,
    NoPlatformCertData,
    OutOfEpc,
    ReportInvalid,
    EnclaveLost,
    InvalidReport,
    EnclaveLoadFailure,
    UnableToGenerateQeReport,
    KeyCertifcationError,
}

Possible errors generated by the quote interface.

Variants

Success

< Success

InvalidParameter

< The parameter is incorrect

OutOfMemory

< Not enough memory is available to complete this operation

EcdsaIdMismatch

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

PathnameBufferOverflow

< The ECDSA blob pathname is too large

FileAccessError

< Error accessing ECDSA blob

StoredKeyInvalid

< Cached ECDSA key is invalid

PubKeyIdMismatch

< Cached ECDSA key does not match requested key

InvalidPceSigScheme

< PCE use the incorrect signature scheme

AttKeyBlobInvalid

< There is a problem with the attestation key blob.

UnsupportedAttKeyId

< Unsupported attestation key ID.

UnsupportedLoadingPolicy

< Unsupported enclave loading policy.

InterfaceUnavailable

< Unable to load the QE enclave

PlatformLibUnavailable

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

AttKeyNotInitialized

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

AttKeyCertDataInvalid

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

NoPlatformCertData

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

OutOfEpc

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

ReportInvalid

< There was a problem verifying an SGX REPORT.

EnclaveLost

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

InvalidReport

< Error verifying the application enclave's report.

EnclaveLoadFailure

< Unable to load the enclaves. Could be due to file I/O error, loading infrastructure error.

UnableToGenerateQeReport

< 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.

KeyCertifcationError

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

Trait Implementations

impl Clone for Quote3Error[src]

impl Copy for Quote3Error[src]

impl Debug for Quote3Error[src]

impl Eq for Quote3Error[src]

impl FromPrimitive for Quote3Error[src]

impl Hash for Quote3Error[src]

impl PartialEq<Quote3Error> for Quote3Error[src]

impl StructuralEq for Quote3Error[src]

impl StructuralPartialEq for Quote3Error[src]

impl ToPrimitive for Quote3Error[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.