ola | ||
---|---|---|
See ola.h | ||
| const char *ola_get_api_version(void); | |
| const char *ola_get_implementation_version(void); | |
| tOLAError ola_initialize_at_start_up(uint8_t *tlv, uint16_t tlvLength); | |
| void ola_set_trace_function(logf_function fct); |
ola_emv | ||
---|---|---|
See ola_emv.h | ||
| typedef enum { OLA_OK, OLA_CARD_MUTE, OLA_CARD_BLOCKED, OLA_MAX_REACHED, OLA_NO_CANDIDATE, OLA_CONTACT_NEW_SELECTION, OLA_CONTACT_SELECTION_ERROR, OLA_CONDITIONS_NOT_SATISFIED, OLA_ACCEPTED, OLA_NOT_ACCEPTED, OLA_OFFLINE_ACCEPTED, OLA_OFFLINE_DECLINED, OLA_GO_ONLINE, OLA_DECLINED, OLA_MISSING_DATA, OLA_PINPAD_ERROR, OLA_PARAM_ERROR, OLA_NOT_IMPLEMENTED, OLA_ERROR, OLA_CARD_ERROR, OLA_CANCEL, OLA_PUBLIC_KEY_OK, OLA_PUBLIC_KEY_MISSING, OLA_PUBLIC_KEY_MAX_REACHED, OLA_PUBLIC_KEY_END, OLA_PUBLIC_KEY_ERROR, OLA_CARD_REMOVED } tOLAError; | |
| typedef enum { cvmNone, cvmNoCvm, cvmSignature, cvmOnlinePin, cvmOnlinePin_Signature, cvmOfflinePinPlaintext, cvmOfflinePinPlaintext_Signature, cvmOfflinePinCiphered, cvmOfflinePinCiphered_Signature } tOlaEMVCoCVM; | |
| tOLAError ola_emv_set_tag( uint32_t tag, uint8_t *value, uint16_t length ); | |
| tOLAError ola_emv_get_tag( uint32_t tag, uint8_t *value, uint16_t *length ); | |
| tOLAError ola_emv_get_cvm_results( tOlaEMVCoCVM *cvm ); |
ola_contact | ||
---|---|---|
See ola_emv.h | ||
| typedef enum { metUndef = 0, metFull, metExtractPAN, metUnknown } tOlaModeContactTransaction; | |
| void ola_contact_flush_aid_supported(void); | |
| tOLAError ola_contact_answer_to_reset(const char* reader); | |
| tOLAError ola_contact_add_aid_supported( const uint8_t *aid, uint8_t aidLength, int partial ); | |
| tOLAError ola_contact_build_candidate_list( uint8_t *nb_candidates, int *pse ); | |
| tOLAError ola_contact_get_tag_from_candidate( uint8_t candidate, uint32_t tag, uint8_t *value, uint16_t *length ); | |
| tOLAError ola_contact_final_select_candidate(uint8_t candidate); | |
| tOLAError ola_contact_initiate_transaction( tOlaModeContactTransaction mode ); | |
| tOLAError ola_contact_complete_transaction( const uint8_t *authorResponseCode, const uint8_t *issuerAuthenticationData, uint8_t issuerAuthenticationData_length ); | |
void ola_contact_clean(void); | ||