Package-level declarations

Types

Link copied to clipboard

PassphraseStorage on the Keychain whose setPassphraseIfAbsent only ever adds an item: the Keychain rejects a second item for the same key, so a passphrase another process or thread stored in between is never replaced.

Link copied to clipboard
Link copied to clipboard
internal class PassphraseStorageImpl(kaliumPreferences: KaliumPreferences) : PassphraseStorage

Properties

Link copied to clipboard
const val MLS_DB_PASSPHRASE_PREFIX_V2: String
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun PassphraseStorage.existingCoreCryptoKey(alias: String): ByteArray?

Read the current key only. Missing, malformed or legacy keys never trigger generation or migration.