VaultConfig

data class VaultConfig(val namespace: String, val accessibility: Accessibility = Accessibility.AfterFirstUnlock)

Immutable configuration for a SecureVault instance.

Two vaults built with the same namespace address the same data; two vaults with different namespaces are isolated from each other (and from any other EncryptedSharedPreferences / Keychain entries this app uses).

Since

0.1.0

Constructors

Link copied to clipboard
constructor(namespace: String, accessibility: Accessibility = Accessibility.AfterFirstUnlock)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

When the OS is allowed to decrypt entries. See Accessibility.

Link copied to clipboard

Logical bucket name. Reverse-DNS is recommended, e.g. "com.acme.app.auth". Must match NAMESPACE_REGEX.