signingRegister

signingRegister

Brief description

Creates new signing identity in the MIRACL platform.

Parameters

Name Summary
authenticationPinProvider

a callback called from the SDK, when the identity PIN is required.

authenticationUser

already registered identity.

deviceName

provides a device name. Defaults to the model of the device.

resultHandler



a callback to handle the result of registering the signing identity.

  • If successful, the result is MiraclSuccess.
  • If an error occurs, the result is MiraclError with a message. On exception, the exception object is also passed.


signingPinProvider

a callback called from the SDK, when the signing identity PIN is required.

Content
@JvmOverloads()

fun signingRegister(authenticationUser: AuthenticationUser, authenticationPinProvider: PinProvider, signingPinProvider: PinProvider, resultHandler: ResultHandler<SigningUser, Error>, deviceName: String)