Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

AgnosEP

See entrypoint.h

ApplicationSelectionMethod

Code Block
languagec
typedef tPaymentError (*ApplicationSelectionMethod)
(
tADFList *mutualList, // See Agnos/selection.h for structure definition
tByte *MLIndex,
tBoolean CL
)

Contactless only. This call is performed right after PPSE selection. That callback can be used to overload mutual list management.

Setter: enpSetApplicationSelectionMethod

KernelSelectionMethod

Code Block
typedef tPaymentError (*KernelSelectionMethod)
(
tByte* kernelIdentifier, 
tByte kernelIdentifierLen,
tByte* requestedKernelIdentifier
)

Contactless only. This call is performed when requested kernel ID cannot be determined by the entry point. That callback can be use to map an undertermined kernel ID to a supported kernel ID.

Setter: enpSetKernelSelectionMethod

...

Agnos

See agnos.h, agnostype.h

tGetDataCallback

Code Block
languagec
typedef void (*tGetDataCallback)
(
tBoolean lastRead, 
tBoolean *next
)

Contact and Contactless. This callback shall be defined to control the EMV transaction flow at Agnos' Read Record state (AsRRD).

Setter: agnSetParsingCallback

tBuildDOLCallback

Code Block
languagec
typedef void (*tBuildDOLCallback)
(
tWord tag,
tByte length,
tByte *DOLData
)

Contactless and Contactless.

Setter: agnSetBuildDOLCallback

tStateCallback

Code Block
languagec
typedef void (*tStateCallback)
(
tAgnosState currentState,
tBoolean *stop,
tBoolean *bypass
)

Contactless and Contactless. This callback shall be defined to control the EMV transaction flow. It will be called at each state defined by Agnos (see tAgnosState in agnostype.h).

Setter: agnSetStateCallback

AgnosDB

...

See agnosdatabase.h

...

AddTag_

...

Scope

Contactless

Description

Reserved for contactless card processing applications.

Setter

agnSetAddTagContactlessCallback (see agnosdatabase.h)

Signature

...

Code Block
typedef void (*AddTag_Contactless)

...


(

...


tTagDataBase *db,

...


enum DataElementIndex idx,

...


const unsigned char checkRedundancy,

...


const unsigned char rule

...


)

...

Contactless

...

Name

AddTag_contactless

Scope

Contactless

Description

only. This callback may be defined by a payment application to hook all the tag that are not statically supported by Agnos.

Setter

...

agnSetAddUnknownTagContactlessCallback (see agnosdatbase.h)

Signature

...

: agnSetAddTagContactlessCallback

AddUnknownTag_Contactless

Code Block
typedef void (*AddUnknownTag_Contactless)

...


(

...


const unsigned char *tlv,

...


const unsigned char len

...


)

Contactless only.

Setter: agnSetAddUnknownTagContactlessCallback