Files
vsmartcard/ccid/apdu.h
frankmorgner 62e48e2a7c - Work in progress: Almost finished (hopefully) flexible sm implementation
(untested).  struct sm_ctx needs external cipher and authentication
  implementations.  Here only routines for encryption/decryption/authentication
  with PACE are given.


git-svn-id: https://vsmartcard.svn.sourceforge.net/svnroot/vsmartcard@54 96b47cad-a561-4643-ad3b-153ac7d7599c
2010-04-09 20:36:32 +00:00

21 lines
426 B
C

#ifndef _CCID_APDU_H
#define _CCID_APDU_H
#ifdef __cplusplus
extern "C" {
#endif
#include <opensc/opensc.h>
/** Sends a APDU to the card
* @param card sc_card_t object to which the APDU should be send
* @param apdu sc_apdu_t object of the APDU to be send
* @return SC_SUCCESS on succcess and an error code otherwise
*/
int my_transmit_apdu(sc_card_t *card, sc_apdu_t *apdu);
#ifdef __cplusplus
}
#endif
#endif