Package-level declarations

Types

Link copied to clipboard
class AndroidPlatformKeyProvider(context: Context, interactionContextProvider: () -> FragmentActivity? = { null }) : PlatformManagedKeyProvider

Managed-key provider backed by Android KeyStore.

Link copied to clipboard
class IosPlatformKeyProvider : PlatformManagedKeyProvider

Managed-key provider backed by iOS Keychain and Secure Enclave.

Link copied to clipboard
class KeyUseAuthorizationException(val failure: KeyUseAuthorizationFailure, message: String, cause: Throwable? = null) : Exception

A stable wallet failure that does not require platform exception-message parsing.

Link copied to clipboard

Stable failure reasons exposed by the mobile wallet boundary.

Link copied to clipboard
@Serializable
sealed interface KeyUseAuthorizationPolicy

Immutable authorization policy selected when a wallet key is created.

Link copied to clipboard
@Serializable
data class KeyUseAuthorizationPrompt(val reason: String = "Please authorize cryptographic signature", val cancelText: String = "Cancel")

Text used by operating-system-owned authorization UI.

Link copied to clipboard

Distinguishes platform-keystore and provider-process enforcement for timed authorization reuse.

How a timed-reuse interval can be validated after key creation or restoration.

Link copied to clipboard

Result of checking whether the wallet can satisfy the requested key and authorization requirements.

Link copied to clipboard

Reasons a requested key-creation requirement cannot currently be satisfied.

Link copied to clipboard

Platform-managed key provider used by mobile wallet persistence.

Link copied to clipboard

Result of restoring one persisted managed key.

Link copied to clipboard
data class WalletKeyCreationRequest(val id: KeyId, val requirements: WalletKeyRequirements, val prompt: KeyUseAuthorizationPrompt = KeyUseAuthorizationPrompt())

Request to create one wallet signing key.

Link copied to clipboard
data class WalletKeyRequirements(val spec: KeySpec, val usages: Set<KeyUsage>, val authorizationPolicy: KeyUseAuthorizationPolicy = KeyUseAuthorizationPolicy.None)

Capabilities required from a wallet signing key.