TotpVector class final

One RFC 6238 Appendix B known-answer vector (8 digits, 30 s, T0 = 0).

Annotations
  • @immutable

Constructors

TotpVector(int unixSeconds, OtpAlgorithm algorithm, String code)
Creates a vector.
const

Properties

algorithm → OtpAlgorithm
Algorithm; each uses its own seed from rfc6238Seed.
final
code → String
Expected 8-digit code.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
unixSeconds → int
Unix time in seconds.
final

Methods

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