#
# SelectMF()
#
[all/CTProcessorCard/select_mf]
arguments=0
apdu="apdu1"

[all/CTProcessorCard/select_mf/apdu1]
cla="0"
ins="0xa4"
p1=0
p2=0
lr=255


#
# SelectParent()
#
[all/CTProcessorCard/select_parent]
arguments=0
apdu="apdu1"

[all/CTProcessorCard/select_parent/apdu1]
cla="0"
ins="0xa4"
p1="0x3"
p2=0
lr=255


#
# SelectDF()
#
[all/CTProcessorCard/select_df]
arguments=1
apdu="apdu1"

[all/CTProcessorCard/select_df/apdu1]
cla="0"
ins="0xa4"
p1="0x1"
p2=0
data="$data"
lr=255

[all/CTProcessorCard/select_df/data]
argument=0
type="uword"



#
# SelectEF()
#
[all/CTProcessorCard/select_ef]
arguments=1
apdu="apdu1"

[all/CTProcessorCard/select_ef/apdu1]
cla="0"
ins="0xa4"
p1="0x2"
p2=0
data="$data"
lr=255

[all/CTProcessorCard/select_ef/data]
argument=0
type="uword"



#
# SelectID()
#
[all/CTProcessorCard/select_file_id]
arguments=1
apdu="apdu1"

[all/CTProcessorCard/select_file_id/apdu1]
cla="0"
ins="0xa4"
p1="0x4"
p2=0x0
data="$data"
lr=255

[all/CTProcessorCard/select_file_id/data]
argument=0
type="bin"
min=1
max=64


#
# SelectID() for cyberjack
#
[cyberjack/CTProcessorCard/select_file_id]
arguments=1
apdu="apdu1"

[cyberjack/CTProcessorCard/select_file_id/apdu1]
cla="0"
ins="0xa4"
p1="0x4"
p2=00
data="$data"
lr=255

[cyberjack/CTProcessorCard/select_file_id/data]
argument=0
type="bin"
min=1
max=64



#
# SelectID() for Kobil
#
[kobil/CTProcessorCard/select_file_id]
arguments=1
apdu="apdu1"

[kobil/CTProcessorCard/select_file_id/apdu1]
cla="0"
ins="0xa4"
p1="0x4"
p2=0
data="$data"
lr=255

[kobil/CTProcessorCard/select_file_id/data]
argument=0
type="bin"
min=1
max=64




#
# ReadRecord()
#
[all/CTProcessorCard/read_record]
arguments=2
apdu="apdu1"

[all/CTProcessorCard/read_record/apdu1]
cla="0"
ins="0xb2"
p1="$num"
p2="0x4"
lr="$size"

[all/CTProcessorCard/read_record/num]
argument=0
type="uchar"

[all/CTProcessorCard/read_record/size]
argument=1
type="uword"
max=256

#
# UpdateRecord()
#
[all/CTProcessorCard/update_record]
arguments=2
apdu="apdu1"

[all/CTProcessorCard/update_record/apdu1]
cla="0"
ins="0xdc"
p1="$num"
p2="0x4"
data="$data"
lr=0

[all/CTProcessorCard/update_record/num]
argument=0
type="uchar"

[all/CTProcessorCard/update_record/data]
argument=1
type="bin"
min=1
max=255






