Struct DeviceKeyDataInt

Source
pub struct DeviceKeyDataInt<Sk: SkWrapper, Pk: PkWrapper, SiK: SignKWrapper, Vk: VerifyKWrapper> {
    pub private_key: Sk,
    pub sign_key: SiK,
    pub public_key: Pk,
    pub verify_key: Vk,
    pub exported_public_key: UserPublicKeyData,
    pub exported_verify_key: UserVerifyKeyData,
}
Expand description

§key storage structure for the rust feature

It can be used with other rust programs.

The different to the internally DoneLoginOutput ist that, the KeyFormat is sued for each where, were the key id is saved too

Fields§

§private_key: Sk§sign_key: SiK§public_key: Pk§verify_key: Vk§exported_public_key: UserPublicKeyData§exported_verify_key: UserVerifyKeyData

Trait Implementations§

Source§

impl<Sk: SkWrapper, Pk: PkWrapper, SiK: SignKWrapper, Vk: VerifyKWrapper> TryFrom<DeviceKeyDataInt<Sk, Pk, SiK, Vk>> for DeviceKeyDataExport

Source§

type Error = SdkUtilError

The type returned in the event of a conversion error.
Source§

fn try_from( value: DeviceKeyDataInt<Sk, Pk, SiK, Vk>, ) -> Result<Self, Self::Error>

Performs the conversion.

Auto Trait Implementations§

§

impl<Sk, Pk, SiK, Vk> Freeze for DeviceKeyDataInt<Sk, Pk, SiK, Vk>
where Sk: Freeze, SiK: Freeze, Pk: Freeze, Vk: Freeze,

§

impl<Sk, Pk, SiK, Vk> RefUnwindSafe for DeviceKeyDataInt<Sk, Pk, SiK, Vk>

§

impl<Sk, Pk, SiK, Vk> Send for DeviceKeyDataInt<Sk, Pk, SiK, Vk>
where Sk: Send, SiK: Send, Pk: Send, Vk: Send,

§

impl<Sk, Pk, SiK, Vk> Sync for DeviceKeyDataInt<Sk, Pk, SiK, Vk>
where Sk: Sync, SiK: Sync, Pk: Sync, Vk: Sync,

§

impl<Sk, Pk, SiK, Vk> Unpin for DeviceKeyDataInt<Sk, Pk, SiK, Vk>
where Sk: Unpin, SiK: Unpin, Pk: Unpin, Vk: Unpin,

§

impl<Sk, Pk, SiK, Vk> UnwindSafe for DeviceKeyDataInt<Sk, Pk, SiK, Vk>
where Sk: UnwindSafe, SiK: UnwindSafe, Pk: UnwindSafe, Vk: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.