I have a .cap file installed into java card. I am trying to delete that .cap file through APDU command message but its giving '69' '85' Conditions of use not satisfied. PFB steps that i have done to delete .cap file.
Steps to delete applet from java card:
I am done with Mutual Authentication Command :
a) Initialize update
b) External Authenicate
and getting '90' '00' as response which means my authentication is done.
Now i am trying to fire delete command to delete .cap file
Delete command
[CMD]80E40080074F050104070205
CLS : 80
INS : E4
P1 : 00
P2 : 80
Lc : 07
Data: 4F 05 0104070205
4F : Application or Executable Load File to delete shall be specified using the tag for an AID ('4F')
05 : length of AID
AID : 0104070205
getting response as'69' '85' Conditions of use not satisfied.
Note:-While sending [CMD]80E40080074F050104070205 directly through jSDSCTool, there also i am getting 69' '82' Security status not satisfied.
I am getting [Wrapped CMD] while deleting package through jSDSCTool.
[Wrapped CMD]84E400800F4F0501040702059412B4E480D17991
please explain what is [Wrapped CMD] here and what is last 8 byte of [Wrapped CMD] 84E4....9412B4E480D17991
Reference Link that i have followed to create command message