Enum yubihsm::object::Type [] [src]

pub enum Type {
    Opaque,
    AuthKey,
    Asymmetric,
    WrapKey,
    HMACKey,
    Template,
    OTPAEADKey,
}

Types of objects

Variants

Raw data

Authentication keys for establishing sessions

Asymmetric private keys

Key-wrapping key for exporting/importing keys

HMAC secret key

Binary template used to validate SSH certificate requests

Yubikey-AES OTP encryption/decryption key

Methods

impl Type
[src]

[src]

Convert an unsigned byte into a ObjectType (if valid)

[src]

Serialize this object type as a byte

Trait Implementations

impl Copy for Type
[src]

impl Clone for Type
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Type
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Type
[src]

impl PartialEq for Type
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Serialize for Type
[src]

[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for Type
[src]

[src]

Deserialize this value from the given Serde deserializer. Read more

Auto Trait Implementations

impl Send for Type

impl Sync for Type