Page 1 of 1

Access to keys of GP

Posted: Tue Nov 08, 2016 10:52 am
by aahmadzadeh
Can i access to ENC Key (or DEK Key) of java card inside my applet?
and do some enciphering action using it?

Re: Access to keys of GP

Posted: Wed Nov 09, 2016 1:48 am
by UNKNwYSHSA
You can't get the key value.
You can dec command message with ENC session Key (Not S-ENC key);
and enc/dec sensitive data with DEK session Key (Not DEK key);
and verify command MAC with MAC session Key (Not S-MAC key).
For more details please see GlobalPlatform Card Specification 2.x.x.