Security - how can i use it?
I can set 3 keys for a security domain by SET_KEY and PUT_KEY commands according to Global Platform in a Java Card.
I read Global Platform specification but i still don't know how can i use these keys. is there any sample to demonstrate using on these keys in a logical channel for authentication or secure messaging?
thanks
[345 byte] By [
Bam_Zama] at [2007-11-26 15:48:48]

# 1
The CardManager cryptographic keys are used by the OS internally. From that point of view you do not require to know the exact usage.
You cannot look into JCOP to find out how the key usage handling. JCOP is not open source.
JCOP is compliant to GlobalPlatform 2.1.1, and if you check the specification, E.2, Cryptographic Keys, page 218 (secure channel protocol 02); there you find what you're looking for. Be aware that JCOP supports only the basic logical channel (0).