TomSecretsPinHash class final
On: a changed hash is no grant, and the request goes to approval.
- Inheritance
-
- Object
- TomSecretsPin
- TomSecretsPinHash
Constructors
- TomSecretsPinHash()
-
The pin.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
check(
{required String? recorded, required String? current, DateTime? now}) → TomSecretsPinCheck -
Checks a file whose hash is
current(null: it cannot be read) against the grant'srecordedhash atnow.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
The protocol's
pinvalue.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited