[][src]Struct firma::offline::derive_key::DeriveKeyOptions

pub struct DeriveKeyOptions {
    pub from_key_file: PathBuf,
    pub to_key_name: String,
    pub qr_version: i16,
    pub encryption_key: Option<StringEncoding>,
}

Restore a master key from the secret component

Fields

from_key_file: PathBuf

Name of the master^2 key

to_key_name: String

Name of the generated master key, used as path to generate the child key

qr_version: i16

QR code max version to use (max size)

encryption_key: Option<StringEncoding>

Optional encryption key for reading/writing the key file encrypted. in CLI it is populated from standard input

Trait Implementations

impl Clone for DeriveKeyOptions[src]

impl Debug for DeriveKeyOptions[src]

impl StructOpt for DeriveKeyOptions[src]

impl StructOptInternal for DeriveKeyOptions[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> Same<T> for T

type Output = T

Should always be Self

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.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,