SELECT
Command Description
The SELECT command is used to select an instance.
Command Message
The following table lists the coding for the SELECT command message.
CLA |
00h |
INS |
A4h |
P1 |
04h (select by name) |
P2 |
00h |
Lc |
Length of AID |
Data Field |
AID to select
|
Le |
00h |
Response Message
The data field in the response message contains the properties of the instance.
Data Field Returned in the Response Message for SELECT of ACA Instance
Length | Value | Description |
---|---|---|
01h |
6Fh |
Tag: FCI template |
01h |
4 + AID Length + Proprietary Data Length |
Length (BER-TLV format) |
01h |
84h |
Tag: Security Domain Name |
01h |
07h |
AID Length |
Variable |
A0000000791000 |
Instance AID Value |
01h |
A5h |
Tag: Proprietary Data |
01h |
07h |
Proprietary Data Length (BER-TLV format) |
01h |
01h |
Applet Version Tag |
01h |
05h |
Applet Version Length |
01h |
10h |
Applet Family |
04h |
Applet Version: 03h 00h 03h xxh |
Applet Version Information, |
Data Field Returned in the Response Message for SELECT of PIV Instance
Length | Value | Description |
---|---|---|
01h |
61h |
Tag: Application Property template |
01h |
2Ah + AID Length |
Application Property Template Length |
01h |
4Fh |
Tag: Application identifier |
01h |
0Bh |
AID Length |
Variable |
A000000308000010000100 |
Instance AID Value |
01h |
79h |
Tag: Coexistent Tag Allocation Authority |
01h |
07h |
Coexistent Tag Allocation Authority Length |
01h |
4Fh |
Tag : Application Identifier |
01h |
05h |
RID Length |
01h |
A000000308 |
Application Instance RID |
01h |
50h |
Tag Application Label |
01h |
1Dh |
Application Label Length |
1Dh |
Application Label in ASCII characters |
Application Label |
Data Field Returned in the Response Message for SELECT of OATH Instance
Length | Value | Description |
---|---|---|
01h |
6Fh |
Tag: FCI template |
01h |
4 + AID Length + Proprietary Data Length |
Length (BER-TLV format) |
01h |
84h |
Tag: Application AID (DF Name) |
01h |
AID Length |
AID Length |
Variable |
AID |
AID Value |
01h |
A5h |
Tag: Proprietary Data |
01h |
Proprietary Data Length |
Proprietary Data Length (BER-TLV format) |
01h |
01h |
Applet Version Tag |
01h |
05h |
Applet Version Length |
01h |
23h |
Applet Family |
04h |
Applet Version |
Applet Version Information |
01h |
26h |
Communication Media Tag |
01h |
02h |
Communication Media Length |
01h |
|
Administrative Communication Media Value |
01h |
|
Usage Communication Media Value |
01h |
4Ah |
OATH Key Properties Tag |
01h |
17h |
OATH Key Properties Length |
01h |
Key Length in bytes |
Key Length in bytes |
01h |
|
Key Initialization status |
08h |
XXXXXXXXXXXXXXXX |
Counter Value in hexadecimal (0000000000000000 when uninitialized) |
01h |
|
OATH Mode
|
01h |
|
Algorithm |
01h |
6, 8 |
CodeDigits |
01h |
0 |
RFU |
01h |
10h: dynamic truncation |
truncationOffset |
01h |
0 |
TimeStep in TimestepUnit |
01h |
0 |
TimestepUnit: Timestep unit (seconds, minutes, hours) |
01h |
|
UseCounter: Indicates whether the Counter is to be used in OCRA Suite |
01h |
|
UseTime: Indicates whether the Time is to be used in OCRA Suite |
01h |
|
UseP: Indicates whether the PIN/Password is to be used in OCRA Suite |
01h |
|
UseS: Indicates whether the Session Information is to be used in OCRA Suite and what size it is |
01h |
|
QFormat: Indicates the format of the challenge, used in OCRA case only |
01h |
[4..64] |
QMaxLen: Indicates the maximum length of the challenge, used in OCRA case only |
01 |
4Ch |
Friendly Name Tag (present once initialized) |
01 |
XXh |
Friendly Name Length |
XXh |
XXXXXX |
Friendly Name |
Processing State Returned in the Response Message
Status | Meaning |
---|---|
9000h |
Command succeeds, no more data to get |