pub enum Token {
    Software,
    SecureEnclave,
}
Expand description

Where to generate the key.

Variants§

§

Software

Generate the key in software, compatible with all KeyTypes.

§

SecureEnclave

Generate the key in the Secure Enclave such that the private key is not extractable. Only compatible with KeyType::ec().

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.