calculateConfirmation

fun calculateConfirmation(confirmationInputs: ByteArray, sharedSecret: ByteArray, deviceRandom: ByteArray, authValue: ByteArray, algorithm: Algorithm): ByteArray

Calculates the provisioning confirmation based on the confirmation inputs, device random, shared secret and the auth value.

Return

Provisioning confirmation value.

Parameters

confirmationInputs

Confirmation inputs.

sharedSecret

Shared secret.

deviceRandom

128-bit or 256-bit device random.

authValue

128-bit or 256-bit auth value.

algorithm

Algorithm to use.