| | | | |
---|
exportCardData | fun exportCardData(): ByteArray
| Export sensitive card data encrypted with the card data encryption key from KML2 storage | a ByteArray composed of: 2 bytes indicating the key_blob length (LSB) key_blob (encrypted with KEK, PKCS#7 padding) 2 bytes indicating the encrypted data length (LSB) followed by an AES-CBC-128/256 encrypted buffer containing a TLV stream of sensitive tags
| Â |
exportHashedPAN | fun exportHashedPAN(): ByteArray
| Export a PAN token generated by a SHA256 | a ByteArray composed of: | Â |
exportKCV | fun exportKCV(): ByteArray
| Export the encryption key KCV | a ByteArray composed of: | Â |
initialize | @JvmOverloads
fun initialize(checkNFC: Boolean = true)
| Initialization routine | Â | |
olaArkosAsysInit | fun olaArkosAsysInit(obj: Any, path: String)
| Arkos initialization function | Â | |
olaContactlessAddAIDSupported | fun olaContactlessAddAIDSupported(Â Â aid: AID, partial: Boolean, kernelId: Byte, tlv: ByteArray): OlaError
| Add one AID supported to configuration. Must be called before ola_contactless_preprocess() | Possible values including but not limited to: OlaError.OLA_OK OlaError.OLA_MAX_REACHED OlaError.OLA_PARAM_ERROR OlaError.OLA_ERROR
| aid: Max 16 bytes partial: allow partial selection with this AID when building candidate list kernelId:on one byte, identifies the kernel to be used when selected later (useful for Carte Bancaire) tlv: combination
|
olaContactlessAddDRLSupported | fun olaContactlessAddDRLSupported(Â Â Â Â programId: ByteArray, Â Â Â Â transactionLimit: BCD?, Â Â Â Â floorLimit: BCD?, Â Â Â Â CVMLimit: BCD?, Â Â Â Â doCheckStatus: Boolean, Â Â Â Â isZeroAllowed: Boolean, Â Â Â Â kernelId: Int): OlaError
| Add one DRL (Dynamic Reader Limit) supported to configuration. | Possible values including but not limited to: OlaError.OLA_OK OlaError.OLA_MAX_REACHED OlaError.OLA_PARAM_ERROR OlaError.OLA_ERROR
| programId: Program ID, max 16 bytes (one byte for XPressPay) transactionLimit: contactless transaction limit, 6 bytes BCD floorLimit: contactless floor limit, 6 bytes BCD (null if no value) CVMLimit: contactless CVM limit, 6 bytes BCD; (null if no value) doCheckStatus: for PayWave only: allow status check isZeroAllowed: for PayWave only: allow zero amount kernelId: on one byte, identifies the kernel using the DRL; it can be 3 (PayWave) or 4 (XPressPay)
|
olaContactlessBuildCandidateList | fun olaContactlessBuildCandidateList(nbCandidates: Holders.SingleObjectHolder<Int>): OlaError
| Build the candidate list of common AID between the card and the configuration, in order of priority | Possible values including but not limited to: | |
olaContactlessClean | fun olaContactlessClean()
| Clean the contactless context | Â | Â |
olaContactlessCommitSupportedAIDs | fun olaContactlessCommitSupportedAIDs()
| Commit added AID and DRL supported in configuration | Â | Â |
olaContactlessDoTransaction | fun olaContactlessDoTransaction(): OlaError
| Perform the Contactless transaction after the AID is selected and configured (First step is building the PDOL and sending the GPO command) | Possible values including but not limited to: OlaError.OLA_OK OlaError.OLA_PARAM_ERROR
| Â |
olaContactlessFinalSelectCandidate | fun olaContactlessFinalSelectCandidate(candidate: Int, kernelId: Holders.SingleObjectHolder<Byte>): OlaError
| Send the final select to the card for a candidate in the candidate list | Possible values including but not limited to: | candidate: an occurrence in candidate list, value must be from 1 to nb_candidates kernelId: the kernel Id that will be activated for this candidate
|
olaContactlessFlushAIDSupported | fun olaContactlessFlushAIDSupported()
| Erase all AID supported from configuration | Â | Â |
olaContactlessGetCardPreferredLanguage | fun olaContactlessGetCardPreferredLanguage( resultHolder: Holders.SingleObjectHolder<CharArray>): OlaError
| Get the preference language for the card holder. It's the first match between the card preferred languages list and terminal languages supported, or, when this match does not occur, the first occurrence of terminal languages supported | Possible values including but not limited to: OlaError.OLA_OK OlaError.OLA_ERROR
| |
olaContactlessGetErrorIndicator | fun olaContactlessGetErrorIndicator(Â errorIndicatorHolder: Holders.SingleObjectHolder<OlaErrorIndicator>): OlaError
| Get the error indicator structure Contactless transaction context | Possible values including but not limited to: OlaError.OLA_OK OlaError.OLA_ERROR
| |
olaContactlessGetOutcome | fun olaContactlessGetOutcome(outcomeHolder: Holders.SingleObjectHolder<OlaOutcomeParameter>): OlaError
| Get the outcome from the Contactless transaction context Values based on EMV Co Book A Annex B (standards outcomes) or as specified elsewhere in Book B (for entry point outcome) or in Books C (specifics for different schemes) | Possible values including but not limited to: OlaError.OLA_OK OlaError.OLA_ERROR
| |
olaContactlessGetTagFromCandidate | fun olaContactlessGetTagFromCandidate(candidate: Int,tag: Int, resultHolder: Holders.SingleObjectHolder<ByteArray>): OlaError
| Get a tag from a candidate in the candidate list | Possible values including but not limited to: | candidate: an occurrence in candidate list, value must be from 1 to nb_candidates tag: EMV tag number resultHolder: tag value will be written here
|
olaContactlessGetUIRequestRestart | fun olaContactlessGetUIRequestRestart(uiRequestHolder: Holders.SingleObjectHolder<OlaUiRequest>): OlaError
| Get the UI request on restart from the Contactless transaction context | Possible values including but not limited to: OlaError.OLA_OK OlaError.OLA_ERROR
| |
olaContactlessGetUIRequestUponOutcome | fun olaContactlessGetUIRequestUponOutcome(uiRequestHolder: Holders.SingleObjectHolder<OlaUiRequest>): OlaError
| Get the UI request on outcome from the Contactless transaction context | Possible values including but not limited to: OlaError.OLA_OK OlaError.OLA_ERROR
| |
olaContactlessPreprocess | fun olaContactlessPreprocess(): OlaError
| Perform preprocessing | Possible values including but not limited to: | Â |
olaEmvGetCVMResults | fun olaEmvGetCVMResults(cvm: Holders.SingleObjectHolder<OlaCvmEmv?>): OlaError
| Get the CVM from the EMV transaction context | Possible return values: | |
olaEmvGetTag | fun olaEmvGetTag(tag: Int, resultHolder: Holders.SingleObjectHolder<ByteArray>): OlaError
| Get a tag from the Contactless transaction context Input parameter | Possible values including but not limited to: | |
olaEmvSetTag | fun olaEmvSetTag(tag: Int, value: ByteArray): OlaError
| Set a tag in the Contactless transaction context | Possible values including but not limited to: OlaError.OLA_OK OlaError.OLA_ERROR
| tag: EMV tag number value: EMV tag value
|
olaInitializeAtStartUp | fun olaInitializeAtStartUp(tlv: ByteArray): OlaError
| Initialize OLA implementation | Possible return values: OlaError.OLA_OK OlaError.OLA_PARAM_ERROR
| |
olaPublicKeyAdd | fun olaPublicKeyAdd(key: PublicKeyData, checksum: ByteArray?, wasMaxReached_holder: Holders.SingleObjectHolder<Boolean>): OlaError
| Add one public key to configuration. | Possible values including but not limited to: | |
olaPublicKeyCommit | fun olaPublicKeyCommit(): OlaError
| Added function for Agnos configuration interface based on files | Possible values including but not limited to: | Â |
olaPublicKeyFind | fun olaPublicKeyFind(soughtKey: OlaPublicKey, checksum: ByteArray): OlaError
| Find a public key in configuration | Possible values including but not limited to: OlaError.OLA_PUBLIC_KEY_OK OlaError.OLA_PUBLIC_KEY_MISSING OlaError.OLA_PUBLIC_KEY_ERROR
| |
olaPublicKeyFlush | fun olaPublicKeyFlush()
| Erase all EMV public keys configuration configuration | Â | Â |
olaPublicKeyGetNextID | fun olaPublicKeyGetNextID( startFromBeginning: Boolean, idxHolder: Holders.SingleObjectHolder<Byte>, ridHolder: Holders.SingleObjectHolder<Byte>): OlaError
| Get next public key identification in configuration | Possible values including but not limited to: | |
setCardCommTimeout | fun setCardCommTimeout(cardCommTimeout: Int)
| Set cardCommTimeout member value | Â | |
setDisplayToast | fun setDisplayToast(displayToast: Boolean)
| Set displayToast member value | Â | |
setFullForward | fun setFullForward(fullForward: Boolean)
| set fullForward member value | Â | true : all events (including NFC related one) will be sent to the listener false : NFC related events will be handled by the Dev class |
setKeyIn | fun setKeyIn(keyIn: Boolean)
| Set keyIn member value | Â | |
setListener | fun setListener(listener: DevListener)
| Set listener to received events and requests from low level | Â | |
setPerformRemoval | fun setPerformRemoval(removal: Boolean)
| Set removal flag | Â | |
setReleaseAdapter | fun setReleaseAdapter(releaseAdapter: Boolean)
| Set releaseAdapter member value | Â | |
technoPolling | fun technoPolling(timeout: Int): Int
| Card detection function | -1 if error occurred, value of found technos otherwise: | |
terminate | fun terminate()
| Terminate low level thread. | Â | Â |