PodAppKey class

The verified key material for one app, derived once from its security key.

Holds the AES master key used to unwrap the app's individual file keys, and the key-derivation scheme version (1 = legacy sha256, 2 = Argon2id+HKDF). Resolve it once via verifyAppSecurityKey and pass it to readAppProfile and writeAppProfile so the expensive Argon2id derivation is not repeated.

Constructors

PodAppKey({required Key masterKey, required int version})
Constructor.

Properties

hashCode → int
The hash code for this object.
no setterinherited
masterKey → Key
The AES master key derived from the app's security key.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → int
The key-derivation scheme version recorded on the POD.
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