Package-level declarations
Types
Link copied to clipboard
Migration alias — prefer EncryptedProtoSerializer.
Link copied to clipboard
class EncryptedPreferencesSerializer(cipher: Cipher, options: EncryptedStoreOptions = EncryptedStoreOptions()) : OkioSerializer<Preferences>
Link copied to clipboard
class EncryptedProtoSerializer<T : Any>(inner: ProtoOkioSerializer<T>, cipher: Cipher, options: EncryptedStoreOptions = EncryptedStoreOptions()) : OkioSerializer<T>
Link copied to clipboard
class EncryptedStoreOptions
Options for encrypted DataStore serializers.
Link copied to clipboard
class ProtoOkioSerializer<T : Any>(kSerializer: KSerializer<T>, val defaultValue: T) : OkioSerializer<T>
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun <T> failClosedCorruptionHandler(producePath: () -> Path, fileSystem: () -> FileSystem? = { kryptostoreFileSystem }): ReplaceFileCorruptionHandler<T>
Fail-closed corruption handler: quarantine the unreadable file as *.corrupt and rethrow. Defaults are never written automatically — recovery requires an explicit user action.