Struct chrome_remote_interface_model::web_authn::GetCredentialReturn[][src]

pub struct GetCredentialReturn { /* fields omitted */ }
This is supported on crate features experimental and WebAuthn only.

Returns a single credential stored in the given virtual authenticator that matches the credential ID.

Implementations

impl GetCredentialReturn[src]

pub fn new(credential: Credential) -> Self[src]

pub fn credential(&self) -> &Credential[src]

Methods from Deref<Target = Credential>

pub fn credential_id(&self) -> &str[src]

pub fn is_resident_credential(&self) -> bool[src]

pub fn rp_id(&self) -> Option<&String>[src]

Relying Party ID the credential is scoped to. Must be set when adding a credential.

pub fn private_key(&self) -> &str[src]

The ECDSA P-256 private key in PKCS#8 format.

pub fn user_handle(&self) -> Option<&String>[src]

An opaque byte sequence with a maximum size of 64 bytes mapping the credential to a specific user.

pub fn sign_count(&self) -> u32[src]

Signature counter. This is incremented by one for each successful assertion. See https://w3c.github.io/webauthn/#signature-counter

pub fn large_blob(&self) -> Option<&String>[src]

The large blob associated with the credential. See https://w3c.github.io/webauthn/#sctn-large-blob-extension

Trait Implementations

impl Clone for GetCredentialReturn[src]

impl Debug for GetCredentialReturn[src]

impl Deref for GetCredentialReturn[src]

type Target = Credential

The resulting type after dereferencing.

impl<'de> Deserialize<'de> for GetCredentialReturn[src]

impl Serialize for GetCredentialReturn[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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

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.