KeyUseAuthorizationPolicy

@Serializable
sealed interface KeyUseAuthorizationPolicy

Immutable authorization policy selected when a wallet key is created.

Inheritors

Types

Link copied to clipboard

Every private-key operation requires a currently enrolled strong biometric.

Link copied to clipboard
@Serializable
data class BiometricTimedReuse(val timeoutSeconds: Int) : KeyUseAuthorizationPolicy

Strong biometric authorization may be reused for private-key operations during the fixed interval. The interval starts with successful authentication and never slides on signing.

Link copied to clipboard
@Serializable
data object None : KeyUseAuthorizationPolicy

Private-key operations retain their ordinary non-interactive behavior.