Bootstrap class

Bootstrapping SSSS and cross-signing

Constructors

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

Properties

client Client
no setter
encryption Encryption
final
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
secretMap Map<String, String>?
getter/setter pair
state BootstrapState
getter/setter pair

Methods

allNeededKeys() Set<String>
analyzeSecrets() Map<String, Set<String>>
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]) 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) → void
wipeCrossSigning(bool wipe) Future<void>
wipeOnlineKeyBackup(bool wipe) → void
wipeSsss(bool wipe) → void

Operators

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