Struct chrome_remote_interface_model::web_authn::CredentialBuilder [−][src]
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]
fn clone(&self) -> CredentialBuilder
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CredentialBuilder
[src]
impl Default for CredentialBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for CredentialBuilder
[src]
impl Send for CredentialBuilder
[src]
impl Sync for CredentialBuilder
[src]
impl Unpin for CredentialBuilder
[src]
impl UnwindSafe for CredentialBuilder
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,