AuthenticatorData class

A structured representation of the authenticatorData buffer returned by an authenticator.

Annotations
  • @JsonSerializable.new(createFactory: false, explicitToJson: true)

Constructors

AuthenticatorData({required Uint8List rpIdHash, required int flags, required int signCount, AttestedCredentialData? attestedCredentialData, CborMap? extensions, Uint8List? bytes, CoseConfiguration? configuration})

Properties

aaguid → List<int>?
no setter
attestedCredentialData → AttestedCredentialData?
The attested credential data, if present.
final
backedUp → bool
no setter
backupEligible → bool
no setter
bytes → Uint8List
final
credentialId → List<int>?
no setter
credentialPublicKey → CoseKey?
no setter
extensions → CborMap?
Authenticator extension outputs, if present.
final
flags → int
The flags byte.
final
hasAttestedCredentialData → bool
Attested Credential Data included flag (bit 6).
no setter
hasExtensions → bool
Extension data included flag (bit 7).
no setter
hashCode → int
The hash code for this object.
no setterinherited
rpIdHash → Uint8List
The SHA-256 hash of the RP ID.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signCount → int
The signature counter.
final
userPresent → bool
User Present flag (bit 0).
no setter
userVerified → bool
User Verified flag (bit 2).
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

parse(List<int> input, {CoseConfiguration? configuration}) → AuthenticatorData
Parses the raw authenticator data buffer into a structured object.