Contents

init(smartCard:aid:instanceID:tokenDriver:)

Initializes a smart card token with the specified smart card, application identifier, and token driver.

Declaration

init(smartCard: TKSmartCard, aid AID: Data?, instanceID: String, tokenDriver: TKSmartCardTokenDriver)

Parameters

  • smartCard:

    The smart card on which the created token should operate.

  • AID:

    The ISO 7816-4 application identifier for the smart card.

  • instanceID:

    A unique, persistent identifier for this token. This value is typically generated from the serial number of the target hardware.

  • tokenDriver:

    The driver associated with the created token.

Discussion

This is the designated initializer.