Attestation class abstract
This is an attestation that you own the private key for the give credentialId that is in the authData. The public key is included so that verification signatures can be exchanged.
Constructors
- Attestation(Uint8List authData)
Properties
Methods
-
asCBOR(
) → Uint8List - Returns the attestation in its CBOR packed representation
-
asJSON(
) → String - Returns the attestation in its JSON packed representation
-
getCredentialId(
) → Uint8List - Retrieves the credential_id field from the attestation object @see Figure 5 is helpful: https://www.w3.org/TR/webauthn/#attestation-object
-
getCredentialIdBase64(
) → String - Retrieves the credential_id field from the attestation object and converts it to a string. @see Figure 5 is helpful: https://www.w3.org/TR/webauthn/#attestation-object
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited