...
Names | Comments | ||
---|---|---|---|
Initialization | |||
agnGetVersionNumber | Provide EMV core engine version | ||
agnOpenSession | Open a CT session to initiate an EMV transaction flow | ||
agnOpenSessionCL | Open a CL session to initiate an EMV transaction flow | ||
agnInititateEMVTransaction | Initiate/Resume an EMV transaction | ||
agnCompleteEMVTransaction | Complete a transaction as per EMVCo definition | ||
agnCloseSession | Close a transaction flow | ||
Setters and Getters | |||
agnSetAgnosDatabase | |||
agnSetKernelStatus | |||
agnSetEMVTag | |||
agnOverwriteTag | |||
agnRemoveTag | |||
agnGetEMVTag | |||
agnGetAllTags | |||
agnGetDatabase | |||
agnIsEMVTagKnown | |||
agnIsEMVTagPresent | |||
agnIsEMVTagEmpty | |||
agnIsEMVTagNotEmpty | |||
agnORTVR | OR a specific TVR’s bit to 1 | ||
agnORAgnosTVR | OR a specific Agnos TVR’s bit to 1 | ||
agnSetAgnosTVR | Set a specific Agnos TVR byte value | ||
AgnosDB | |||
adbGetVersionNumber | Provide Agnos database version | ||
adbResetDataBase | Reset database structure | ||
adbAddTag | |||
adbAddUnknownTag | Add any tags into EMV tags database in “UnknowTag” bucket | ||
adbGetUnknowTags | Get all tags stored into unknown tags bucket | ||
adbGetUnknownTagsLength | Get the bucket’s length | ||
adbGetUnknownTagsCount | Get tags count from the bucket | ||
adbGetAllTLV | Get all TLV stored in AgnosDB
|
C Example
See emvco.c. and canadianselection.h. They provide a good example on agnos.h and selection.h integration in the scope of contact card processing.