TomSecretsUnlockBundle class final

The key material of one vault's OS unlock: its compositeKey and, for a vault with the outer encryption, its outerKey (the repository key as the keychain keeps it).

Constructors

TomSecretsUnlockBundle({required List<int> compositeKey, String? outerKey})
A bundle of compositeKey (32 bytes; a copy is kept) and outerKey.
TomSecretsUnlockBundle.decode(List<int> bytes)
Reads the plaintext bytes (encode's form).
factory

Properties

compositeKey → Uint8List
The composite key.
final
hashCode → int
The hash code for this object.
no setterinherited
outerKey → String?
The repository key, or null.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

dispose() → void
Overwrites the composite key.
encode() → Uint8List
The plaintext bytes; the caller wipes them after use.
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