pub struct ClientPinResponse {
pub key_agreement: Option<COSEKey>,
pub pin_uv_auth_token: Option<Vec<u8>>,
pub pin_retries: Option<u32>,
pub power_cycle_state: Option<bool>,
pub uv_retries: Option<u32>,
}Available on crate feature
ctap2 only.Expand description
authenticatorClientPin response type.
Fields§
§key_agreement: Option<COSEKey>The result of the authenticator calling getPublicKey, which can be
used to encapsulate encrypted payloads between the authenticator and
platform.
pin_uv_auth_token: Option<Vec<u8>>The pinUvAuthToken, encrypted with the shared secret.
pin_retries: Option<u32>Number of PIN attempts remaining until lock-out.
power_cycle_state: Option<bool>If present and true, the authenticator requires a power cycle before
any future pin operation.
Only included in response to ClientPinSubCommand::GetPinRetries.
uv_retries: Option<u32>Number of UV attempts remaining until lock-out.
Trait Implementations§
source§impl CBORResponse for ClientPinResponse
impl CBORResponse for ClientPinResponse
source§impl Debug for ClientPinResponse
impl Debug for ClientPinResponse
source§impl Default for ClientPinResponse
impl Default for ClientPinResponse
source§fn default() -> ClientPinResponse
fn default() -> ClientPinResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ClientPinResponse
impl<'de> Deserialize<'de> for ClientPinResponse
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
source§impl PartialEq for ClientPinResponse
impl PartialEq for ClientPinResponse
source§fn eq(&self, other: &ClientPinResponse) -> bool
fn eq(&self, other: &ClientPinResponse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for ClientPinResponse
impl StructuralPartialEq for ClientPinResponse
Auto Trait Implementations§
impl Freeze for ClientPinResponse
impl RefUnwindSafe for ClientPinResponse
impl Send for ClientPinResponse
impl Sync for ClientPinResponse
impl Unpin for ClientPinResponse
impl UnwindSafe for ClientPinResponse
Blanket Implementations§
source§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
source§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
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