Enum cryptoki::types::object::AttributeType[][src]

pub enum AttributeType {
    AllowedMechanisms,
    Base,
    Class,
    Copyable,
    Decrypt,
    Derive,
    Encrypt,
    Extractable,
    Id,
    KeyType,
    Label,
    Modifiable,
    Modulus,
    ModulusBits,
    Prime,
    Private,
    PublicExponent,
    Sensitive,
    Sign,
    SignRecover,
    Token,
    Unwrap,
    Value,
    ValueLen,
    Verify,
    VerifyRecover,
    Wrap,
}

Type of an attribute

Variants

AllowedMechanisms

List of mechanisms allowed to be used with the key

Base

Base number value of a key

Class

Type of an object

Copyable

Determines if an object can be copied

Decrypt

Determines if a key supports decryption

Derive

Determines if it is possible to derive other keys from the key

Encrypt

Determines if a key supports encryption

Extractable

Determines if a key is extractable and can be wrapped

Id

Key identifier for key

KeyType

Type of a key

Label

Description of the object

Modifiable

Determines if the object can be modified

Modulus

Modulus value of a key

ModulusBits

Length in bits of the modulus of a key

Prime

Prime number value of a key

Private

Determines if the object is private

PublicExponent

Public exponent value of a key

Sensitive

Determines if the key is sensitive

Sign

Determines if a key supports signing

SignRecover

Determines if a key supports signing where the data can be recovered from the signature

Token

Determines if the object is a token object

Unwrap

Determines if a key supports unwrapping

Value

Value of the object

ValueLen

Length in bytes of the value

Verify

Determines if a key supports verifying

VerifyRecover

Determines if a key supports verifying where the data can be recovered from the signature

Wrap

Determines if a key supports wrapping

Trait Implementations

impl Clone for AttributeType[src]

impl Copy for AttributeType[src]

impl Debug for AttributeType[src]

impl TryFrom<u64> for AttributeType[src]

type Error = Error

The type returned in the event of a conversion error.

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.