EMVPort

interface EMVPort

Functions

Link copied to clipboard

Commits all staged contact CAPKs to the EMV contact kernel.

Link copied to clipboard

Finalizes and commits all staged contact application data into the EMV kernel.

Link copied to clipboard

Commits all staged contactless CAPKs to the EMV contactless kernels.

Link copied to clipboard

Finalizes and commits all staged contactless application data into the EMV kernels.

Link copied to clipboard

Retrieves the result data from the EMV kernel for the current card transaction. It must not perform any operations on the card, just return the result data from the kernel.

Link copied to clipboard

Initializes the EMV kernel environment for both contact and contactless transactions.

Link copied to clipboard

Performs the final application selection for contact-based EMV cards and reads all necessary data records from the card.

Link copied to clipboard

Performs crucial concluding steps of an EMV transaction after the first Generate AC. This function handles:

Link copied to clipboard

Performs crucial EMV transaction steps including Offline Data Authentication (ODA), Cardholder Verification Method (CVM) processing, Terminal Risk Management, and the 1st Generate Application Cryptogram (AC).

Link copied to clipboard

Resets all application data stored in the EMV kernel for both contact and contactless transactions.

Link copied to clipboard
abstract fun resetKernelCAPK(): NexusRet

Resets all Certificate Authority Public Keys (CAPKs) stored in the EMV kernel for both contact and contactless transactions.

Link copied to clipboard
abstract fun setContactCAPKs(tContactCAPKData: TypePublicKeyModal): NexusRet

Loads one CAPK (Certificate Authority Public Key) into the contact EMV kernel CAPK Buffer.

Link copied to clipboard
abstract fun setContactKernelAppData(tContactAppConfig: TypeParameterModal): NexusRet

Loads application-specific configuration data into the contact EMV kernel.

Link copied to clipboard
abstract fun setContactlessCAPKs(tContactlessCAPKData: TypePublicKeyModal): NexusRet

Loads one CAPK (Certificate Authority Public Key) into the contactless EMV kernel CAPK Buffer.

Link copied to clipboard
abstract fun setContactlessKernelAppData(tKernelType: KernelType, tContactlessAppConfig: TypeParameterModal): NexusRet

Loads application-specific configuration data into the contactless EMV kernel.

Link copied to clipboard
abstract fun setDspCallback(cDSPCallbacks: <Error class: unknown class>): NexusRet

Configures display callbacks for EMV transaction user interface interactions.

Link copied to clipboard
abstract fun setMultipleTagsOnKernel(tagList: List<String>): NexusRet

Set one or more tags on kernel during the transaction process. This function allows for dynamic modification of kernel behavior by setting specific EMV tags. It can be called at various points during the transaction flow to influence decision-making or to provide additional data to the kernel.

Link copied to clipboard
abstract fun setTransactionParams(tInputStartTransaction: TypeInputStartTransaction): NexusRet

Sets transaction parameters required for EMV transaction processing.

Link copied to clipboard

Initiates the application selection process specifically for contact-based EMV cards.

Link copied to clipboard

Initiates an EMV transaction by detecting and identifying the card type present.