Package-level declarations
Types
AEAD-encrypted OkioSerializer for AndroidX Preferences using the SVBLENC1 v1 envelope.
AEAD-encrypted OkioSerializer wrapping ProtoOkioSerializer with the SVBLENC1 v1 envelope.
Options for encrypted DataStore serializers (EncryptedProtoSerializer and EncryptedPreferencesSerializer).
Default on-disk locations for StoreLocator.Platform / file-backed factories from commonMain.
Unencrypted OkioSerializer backed by kotlinx-serialization-protobuf ProtoBuf.
Where a KryptoStore androidx.datastore.core.DataStore persists.
Properties
Application filesDir root set by kryptostore-android KryptostoreAndroid.initialize. Public so the android-delegates artifact can install without sharing internal across modules.
Platform Okio FileSystem for quarantine / file-backed stores; null on web.
Functions
Applies this locator's logical store name (for StoreLocator.Platform and StoreLocator.Named) to options via EncryptedStoreOptions.applyDefaultStoreName so AAD derivation is identical across file and web targets when EncryptedStoreOptions.storeName is left at its default.
Derives canonical UTF-8 AEAD associated data ("$storeName|v$schemaVersion").
Builder DSL for EncryptedStoreOptions.
Fail-closed corruption handler: quarantine the unreadable file as *.corrupt and rethrow. Defaults are never written automatically — recovery requires an explicit user action.
Installs the Android application files directory used by KryptostorePaths.file.
Resolves the platform FileSystem or fails closed with the shared web-routing message. Accepts an override so JVM tests can exercise the null branch without JS Kover merge.
Resolves this locator to a file path or web name for the current target.
Same as resolve with an explicit usesFileStorage override (tests / tooling).