JavacardOS will not accept order any more, please contact our partner Feitian online Store:
https://ftsafe.en.alibaba.com/index.html

Search found 3 matches

by gyylxz
Fri Jun 15, 2018 5:27 am
Forum: Questions & Answers
Topic: T=0 protocol, How to use the correct ins value in the apdu command?
Replies: 1
Views: 7435

T=0 protocol, How to use the correct ins value in the apdu command?

T=0 protocol, How to use the correct ins value in the apdu command?
by gyylxz
Fri Jun 15, 2018 5:12 am
Forum: Questions & Answers
Topic: how to judge that the class byte of APDU command is valid?
Replies: 4
Views: 11077

Re: how to judge that the class byte of APDU command is valid?

Filter by the following function:
int8_t apdu_is_valid_cla(void)
{
return (int8_t)((((g_apdu_info.cla) & 0xE0) != 0x20) && ((g_apdu_info.cla) != 0xFF));
}
by gyylxz
Fri Jun 15, 2018 5:11 am
Forum: Questions & Answers
Topic: how to judge that the class byte of APDU command is valid?
Replies: 4
Views: 11077

Re: how to judge that the class byte of APDU command is valid?

Filter by the following function:
int8_t apdu_is_valid_cla(void)
{
return (int8_t)((((g_apdu_info.cla) & 0xE0) != 0x20) && ((g_apdu_info.cla) != 0xFF));
}
JavaCard OS : Disclaimer