PlatformManagedKeyProvider

Platform-managed key provider used by mobile wallet persistence.

Implementations must expose capability and restoration state through the structured result types below. Known key-use authorization failures must be surfaced as KeyUseAuthorizationException; callers must not need to understand provider-specific exceptions.

Inheritors

AndroidPlatformKeyProvider
IosPlatformKeyProvider

Functions

Link copied to clipboard
abstract suspend fun deleteManagedKey(stored: StoredKey.Managed)

Deletes a platform key using its descriptor without restoring the alias first.

Link copied to clipboard
abstract suspend fun generateManagedKey(request: WalletKeyCreationRequest): ManagedKey

Generates a managed key in the platform key store.

Link copied to clipboard
abstract suspend fun preflight(requirements: WalletKeyRequirements): KeyUseAuthorizationSupport

Checks whether the requested requirements are supported without fallback.

Link copied to clipboard
abstract suspend fun restoreManagedKey(stored: StoredKey.Managed): PlatformManagedKeyRestoration

Restores a platform key from its persisted descriptor.