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

NAME

6       sc_app_info_t - OpenSC application structure
7

SYNOPSIS

9          #include <opensc.h>
10
11          #define SC_MAX_AID_SIZE            16
12
13          typedef struct sc_app_info {
14               unsigned char aid[SC_MAX_AID_SIZE];
15               size_t aid_len;
16               char *label;
17               sc_path_t path;
18               unsigned char *ddo;
19               size_t ddo_len;
20
21               const char *desc;
22               int rec_nr;
23          } sc_app_info_t;
24
25
26

DESCRIPTION

28       This structure describes a smart card application. It contains the
29       following members:
30
31       aid
32          The applications's AID. An AID uniquely identifies an application,
33          and consists of an RID (a 5-byte "Registered Application Provider
34          Identifier") and a PIX, which identifies an application by that
35          provider. For example, the RID for PKCS#15 consists of the bytes A0
36          00 00 00 63, and the PIX is the string "PKCS-15". Thus, the AID of a
37          PKCS#15 application on a smart card is A0 00 00 00 63 50 4B 43 53 2D
38          31.
39
40       aid_len
41          The length of the AID in bytes.
42
43       label
44          A UTF-8 string describing the application.
45
46       path
47          The application's full path on the card, starting at the MF.
48
49       ddo
50
51       ddo_len
52
53       desc
54          A description of the application, if available.
55
56       rec_nr
57          If the EF(DIR) file is record-structured, this has the record number
58          in which this application is stored. Otherwise, this is -1.
59
60
61
62opensc                            05/04/2007                  SC_APP_INFO_T(3)
Impressum