Contents

registerSmartCard(tokenID:promptMessage:)

Registers a smartcard with a specific token ID.

Declaration

func registerSmartCard(tokenID: String, promptMessage: String) throws

Parameters

  • tokenID:

    ID of the smartcard

  • promptMessage:

    Message that will be shown in the presented system UI when an operation with this smartcard is requested.

Discussion

In case the same tokenID is already registered, the registration data are overwritten. In case the smartcard with provided tokenID isn’t found in the system, failure is returned.