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

authData Uint8List
final
format String
Returns the format of the attestation
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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