pub struct HmacGetSecretInput {
pub key_agreement: Value,
pub salt_enc: Bytes,
pub salt_auth: Bytes,
pub pin_uv_auth_protocol: Option<u8>,
}Expand description
Object holding the initial salts for creating the secret.
Fields§
§key_agreement: ValueShould be of form coset::CoseKey but that doesn’t implement Serialize or Deserialize.
salt_enc: BytesThe salts encrypted using the shared secret key from the pin UV exchange
salt_auth: BytesThe HMAC of the salts using the shared secret key
pin_uv_auth_protocol: Option<u8>The Pin Authentication protocol used in the derivation of the shared secret.
Trait Implementations§
Source§impl Clone for HmacGetSecretInput
impl Clone for HmacGetSecretInput
Source§fn clone(&self) -> HmacGetSecretInput
fn clone(&self) -> HmacGetSecretInput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HmacGetSecretInput
impl Debug for HmacGetSecretInput
Source§impl<'de> Deserialize<'de> for HmacGetSecretInput
impl<'de> Deserialize<'de> for HmacGetSecretInput
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HmacGetSecretInput
impl RefUnwindSafe for HmacGetSecretInput
impl Send for HmacGetSecretInput
impl Sync for HmacGetSecretInput
impl Unpin for HmacGetSecretInput
impl UnwindSafe for HmacGetSecretInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more