[][src]Enum sgx_types::sgx_ql_cert_key_type_t

#[repr(u32)]pub enum sgx_ql_cert_key_type_t {
    PPID_CLEARTEXT,
    PPID_RSA2048_ENCRYPTED,
    PPID_RSA3072_ENCRYPTED,
    PCK_CLEARTEXT,
    PCK_CERT_CHAIN,
    ECDSA_SIG_AUX_DATA,
    QL_CERT_KEY_TYPE_MAX,
}

Variants

PPID_CLEARTEXT
PPID_RSA2048_ENCRYPTED
PPID_RSA3072_ENCRYPTED
PCK_CLEARTEXT
PCK_CERT_CHAIN
ECDSA_SIG_AUX_DATA
QL_CERT_KEY_TYPE_MAX

Methods

impl sgx_ql_cert_key_type_t[src]

pub fn from_repr(v: u32) -> Option<Self>[src]

pub fn from_key(self) -> u32[src]

Trait Implementations

impl Clone for sgx_ql_cert_key_type_t[src]

impl Copy for sgx_ql_cert_key_type_t[src]

impl Default for sgx_ql_cert_key_type_t[src]

impl Eq for sgx_ql_cert_key_type_t[src]

impl PartialEq<sgx_ql_cert_key_type_t> for sgx_ql_cert_key_type_t[src]

impl StructuralEq for sgx_ql_cert_key_type_t[src]

impl StructuralPartialEq for sgx_ql_cert_key_type_t[src]

Auto Trait Implementations

impl Send for sgx_ql_cert_key_type_t

impl Sync for sgx_ql_cert_key_type_t

impl Unpin for sgx_ql_cert_key_type_t

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