PassphraseRequest

class PassphraseRequest(val title: String, val subtitle: String, val passphraseConstraints: PassphraseConstraints, val passphraseEvaluator: suspend (enteredPassphrase: String) -> PassphraseEvaluation?)

Data for the UI to display and run passphrase dialog.

Constructors

Link copied to clipboard
constructor(title: String, subtitle: String, passphraseConstraints: PassphraseConstraints, passphraseEvaluator: suspend (enteredPassphrase: String) -> PassphraseEvaluation?)

Properties

Link copied to clipboard
Link copied to clipboard
val passphraseEvaluator: suspend (enteredPassphrase: String) -> PassphraseEvaluation?

an optional function to evaluate the passphrase and give the user feedback.

Link copied to clipboard

the subtitle for the passphrase prompt.

Link copied to clipboard

the title for the passphrase prompt.