[][src]Struct parsec_interface::operations::key_attributes::KeyAttributes

pub struct KeyAttributes {
    pub key_type: KeyType,
    pub ecc_curve: Option<EccCurve>,
    pub algorithm: Algorithm,
    pub key_size: u32,
    pub permit_export: bool,
    pub permit_encrypt: bool,
    pub permit_decrypt: bool,
    pub permit_sign: bool,
    pub permit_verify: bool,
    pub permit_derive: bool,
}

Native definition of the attributes needed to fully describe a cryptographic key.

Fields

key_type: KeyTypeecc_curve: Option<EccCurve>algorithm: Algorithmkey_size: u32permit_export: boolpermit_encrypt: boolpermit_decrypt: boolpermit_sign: boolpermit_verify: boolpermit_derive: bool

Trait Implementations

impl Clone for KeyAttributes[src]

impl Copy for KeyAttributes[src]

impl Debug for KeyAttributes[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.