Page 1 of 1

How to set Security level

Posted: Tue Jun 05, 2018 6:52 am
by naresh
Hello Sir,
Can any one provide doc or code for HOW TO SET SECURITY LEVEL in javacard.
Thanks and Regards
Thammineni Naresh.

Re: How to set Security level

Posted: Wed Jun 06, 2018 5:56 am
by BirdKing
Security channel?
80 50 XXXXXX and 84 82 XXXXXX?

Re: How to set Security level

Posted: Wed Jun 06, 2018 6:02 am
by later123654
hello:
There are command of GP specification to set a security level for Gp session.
initial update:80 50 p1 p2 p3 lcdata
external authenticate: 84 82 p1 p2 p3 lcdata---
the P1 in the cmd of external authenticate is used to set security level.
p1 = 0: no security level
p1 = 1: C-MAC
P1 = 3:C-MAC AND C-DECRYPTION

Re: How to set Security level

Posted: Sun Jun 10, 2018 11:36 pm
by gorgeous
You can see the appendix D/E/F in the attachment.

Re: How to set Security level

Posted: Tue Jun 12, 2018 4:25 am
by yang340
I also want to know the answer of this question ,thanks for the person who provide the answer :D