Bootstrap class

Bootstrapping SSSS and cross-signing

Constructors

Bootstrap({required Encryption encryption, void onUpdate(Bootstrap)?})

Properties

client → Client
no setter
encryption → Encryption
final
errorResult ↔ ErrorResult?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
newSsssKey ↔ OpenSSSS?
getter/setter pair
oldSsssKeys ↔ Map<String, OpenSSSS>?
getter/setter pair
onUpdate ↔ void Function(Bootstrap)?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state ↔ BootstrapState
getter/setter pair

Methods

allNeededKeys() → Set<String>
analyzeSecrets() → Map<String, Set<String>>
returns ssss from accountdata, eg: m.megolm_backup.v1, or your m.cross_signing stuff
askSetupCrossSigning({bool setupMasterKey = false, bool setupSelfSigningKey = false, bool setupUserSigningKey = false}) → Future<void>
askSetupOnlineKeyBackup(bool setup) → Future<void>
badSecrets() → Set<String>
checkCrossSigning() → void
checkOnlineKeyBackup() → void
ignoreBadSecrets(bool ignore) → void
migrateOldSsss() → void
mostUsedKey(Map<String, Set<String>> secrets) → String
newSsss([String? passphrase, String? name]) → Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openExistingSsss() → Future<void>
toString() → String
A string representation of this object.
inherited
unlockedSsss() → void
useExistingSsss(bool use, {String? keyIdentifier}) → void
wipeCrossSigning(bool wipe) → Future<void>
wipeOnlineKeyBackup(bool wipe) → void
wipeSsss(bool wipe) → void

Operators

operator ==(Object other) → bool
The equality operator.
inherited