Struct chrome_remote_interface_model::web_authn::Credential[][src]

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

Implementations

impl Credential[src]

pub fn builder() -> CredentialBuilder[src]

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 Credential[src]

impl Debug for Credential[src]

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

impl Serialize for Credential[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.