ClientPinResponse class

CTAP2 authenticatorClientPIN (0x06) response (spec §6.5.5).

Returns the authenticator's key agreement key, an encrypted pinUvAuthToken, and retry counters where applicable.

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

Constructors

ClientPinResponse({CoseKey? keyAgreement, List<int>? pinUvAuthToken, int? pinRetries, bool? powerCycleState, int? uvRetries})

Properties

hashCode int
The hash code for this object.
no setterinherited
keyAgreement CoseKey?
Authenticator public key for key agreement (COSE_Key).
final
pinRetries int?
Remaining PIN retries before lockout.
final
pinUvAuthToken List<int>?
Encrypted pinUvAuthToken.
final
powerCycleState bool?
Whether a power cycle is required before future PIN operations.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uvRetries int?
Remaining UV retries before lockout.
final

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

decode(List<int> data) ClientPinResponse
Decodes a CBOR-encoded response into ClientPinResponse.

Constants

keyAgreementIdx → const int
pinRetriesIdx → const int
pinUvAuthTokenIdx → const int
powerCycleStateIdx → const int
uvRetriesIdx → const int