Package-level declarations

Types

Link copied to clipboard
@ObjCName(swiftName = "KeyValueStorageInterface")
interface KeyValueStorageInterface

Interface defining the contract for a key-value storage system.

Link copied to clipboard

Enum class representing keys used for key-value storage.

Link copied to clipboard

A class that provides secure local storage functionalities with encryption and decryption, leveraging a DataStore<Preferences> for persistent key-value storage. This implementation ensures that data is securely saved and retrieved with cryptographic operations.

SecureLocalStorage provides a platform-specific implementation for managing key-value storage securely. It extends KeyValueStorageInterface and ensures that stored data remains protected.

Link copied to clipboard

Represents errors that may occur during operations within the secure local storage.

Link copied to clipboard

Factory class responsible for creating instances of KeyValueStorageInterface.

Factory class responsible for creating instances of KeyValueStorageInterface.

Link copied to clipboard

A sealed class representing the result of an operation in secure local storage.

Link copied to clipboard
@Serializable
data class StoredDkgResult(val extendedDataBytes: ByteArray, val shareBytes: ByteArray, val combinedPublicKey: ByteArray, val groupId: String, val sessionId: String, val timestamp: Long)

Serializable representation of a DKG result for persistent storage.

Link copied to clipboard
@Serializable
data class StoredKeygenResult(val algorithmId: String, val shareBytes: ByteArray, val publicKeyBytes: ByteArray, val groupId: String, val timestamp: Long)

Serializable representation of a 2-of-2 keygen result for persistent storage. Stores the share and public key bytes.

Link copied to clipboard
@Serializable
data class StoredPresignResult(val materialBytes: ByteArray, val sessionId: String, val groupId: String, val timestamp: Long)

Serializable representation of a presign result for persistent storage.

Link copied to clipboard
sealed class StoredShareResult

Result type for loaded shares - supports ECDSA (Keygen/Dkg) and FROST algorithms.

Link copied to clipboard
@Serializable
data class StoredWalletInfo(val groupId: String, val displayName: String, val walletType: WalletType, val createdAt: Long)

Wallet-level metadata stored separately from per-algorithm shares.