Struct chrome_remote_interface_model::web_authn::CredentialBuilder[][src]

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

Implementations

impl CredentialBuilder[src]

pub fn credential_id(&mut self, v: String) -> &mut Self[src]

pub fn is_resident_credential(&mut self, v: bool) -> &mut Self[src]

pub fn rp_id(&mut self, v: String) -> &mut Self[src]

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

pub fn private_key(&mut self, v: String) -> &mut Self[src]

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

pub fn user_handle(&mut self, v: String) -> &mut Self[src]

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

pub fn sign_count(&mut self, v: u32) -> &mut Self[src]

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

pub fn large_blob(&mut self, v: String) -> &mut Self[src]

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

pub fn build(&mut self) -> Result<Credential, &'static str>[src]

Trait Implementations

impl Clone for CredentialBuilder[src]

impl Debug for CredentialBuilder[src]

impl Default for CredentialBuilder[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> 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.