AuthMessage class
The AuthMessage can have two different formats:
-
When authPageNumber equals 0, the fields lastAuthPageIndex, authLength and timestamp are present. The size of AuthData is maximum 17 bytes (maxAuthPageZeroSize).
-
When authPageNumber equals 1 through (maxAuthDataPages - 1), lastAuthPageIndex, authLength and timestamp are not present.
-
For pages 1 to lastAuthPageIndex, the size of AuthData is maximum 23 bytes (maxAuthPageNonZeroSize).
Unused bytes in the AuthData field must be filled with NULLs (i.e. 0x00).
Since the authLength field is one byte, the amount of data bytes transmitted over multiple pages of AuthData can only be up to 255.
- Inheritance
-
- Object
- ODIDMessage
- AuthMessage
- Available Extensions
Constructors
Properties
- authData → AuthData
-
final
- authLength → int?
-
final
- authPageNumber → int
-
final
- authType → AuthType
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- lastAuthPageIndex → int?
-
final
- protocolVersion → int
-
finalinherited
- rawContent → Uint8List
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited