AuthAction

sealed class AuthAction

Defines a set of authentication methods aimed at strengthening the provisioning process.

Inheritors

Types

Link copied to clipboard
data class DisplayAlphaNumeric(val text: String) : AuthAction

The application should display this alphanumeric text to the user. The user must enter this text on the provisioning device.

Link copied to clipboard
data class DisplayNumber(val number: UInt, val action: InputAction) : AuthAction

The application should display this number to the user. The user should perform the selected action given number of times.

Link copied to clipboard
data class ProvideAlphaNumeric(val maxNumberOfCharacters: UByte, val authenticate: (String) -> Unit) : AuthAction

The user shall provide an alphanumeric text.

Link copied to clipboard
data class ProvideNumeric(val maxNumberOfDigits: UByte, val action: OutputAction, val authenticate: (UInt) -> Unit) : AuthAction

The user shall provide a number.

Link copied to clipboard
data class ProvideStaticKey(val length: Int, val authenticate: (ByteArray) -> Unit) : AuthAction

The user must provide a 16-byte static authentication value.