signingRegister

# signingRegister


fun signingRegister(user: User, authenticationPinProvider: PinProvider, signingPinProvider: PinProvider, resultHandler: ResultHandler<User, MIRACLException>)

Creates new signing identity in the MIRACL platform.

# Parameters

user already registered user.
authenticationPinProvider a callback called from the SDK, when the identity PIN is required.
signingPinProvider a callback called from the SDK, when the signing identity PIN is required.
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.