UnlockReason

interface UnlockReason

Provides a reason why a key in SecureArea needs to be unlocked and the context of the operation that the key is going to be involved (signing or key agreement).

An unlock reason can be taken into account when implementing KeyUnlockDataProvider or when using a user prompt to obtain authorization in PromptModel.toHumanReadable.

This is an interface and thus the set of possible values is not restricted. Applications are encouraged to create application-specific implementation of this interface for use in the application back-end code.

Inheritors

Types

Link copied to clipboard
data class HumanReadable(val title: String, val subtitle: String, val requireConfirmation: Boolean) : UnlockReason

Human-readable explanation for the operation.

Link copied to clipboard

No reason for the operation is given.