1SC_FORMAT_APDU(3)            OpenSC API reference            SC_FORMAT_APDU(3)
2
3
4

NAME

6       sc_format_apdu - Populate an APDU structure
7

SYNOPSIS

9          #include <opensc.h>
10
11          void sc_format_apdu(struct sc_card *card, sc_apdu_t *apdu,
12                              int cse, int ins, int p1, int p2);
13
14
15

DESCRIPTION

17       This function populates the sc_apdu_t structure pointed to by apdu on
18       card. It does not allocate memory. The cse, ins, p1 and p2 parameters
19       correspond to the respective APDU parameters as described in the ISO
20       7816 standard.
21
22
23
24opensc                            05/04/2007                 SC_FORMAT_APDU(3)
Impressum