I want to create a javacard applet which could not be installed more than once at the same time. It means if I instantiate applet once, It could not be possible to install another instance of that applet. However, if I delete the first instance, it should be possible to reinstall it.
How can I make a javacard appet which is not possible to be multi instance
80 Views Asked by 1chenar At
1
There are 1 best solutions below
Related Questions in APPLET
- Can't install .cap file on NXP P71D321
- how do I view an old applet?
- How to set priority of a process(that gets inherited by OS threads) in golang for mac?
- How to connect Apple GPU to Jupyter Notebook?
- How to save and restore macOS Launchpad configuration?
- Where is source code of the binding from javascript to C for Cinnamon? Which C objects / methods can be accessed?
- How to change background color of font for Cinnamon TextApplet?
- android.se.omapi.SEService: My app doesn't connect with the OnConnectedListener
- wrong notifications from my applet ( IFTTT ) (Python trading script)
- How to animate a ball grow with NoApplet?
- Creating a PWA for GeoGebra Applets so that they work offline without needing internet connection
- Can I use install for personalization two times for a SD?
- Why is my ACOSJ Javacard applet failing to install?
- Using symmetric key DES to sign and verify a message
- IsEnabled not working when a function is triggered in Java applet
Related Questions in SMARTCARD
- Authentication with SmartCard sending a SOAPUI request
- How can I read these P1 and P2 parameters in smartcard reference data?
- Sign a pdf document using signature from USB token in python
- Is it possible Java Card supports NIO,like event-driven, reactor
- How to encode or write information into MIFARE DESFIRe ev2 that would act as id card with microtransaction functionality
- Issue with Secure Messaging in Android HCE App - Invalid Class (SW 6E00) during AID Selection
- Secure Channel Protocol 01 and 03 in Win32API DLL
- Change key of Desfire Card application
- STORE DATA APDU for PPSE info
- How to properly parametrize a SECP256K1 curve using the SE051 IoT SDK?
- C# http request mtls external private key
- Can't install .cap file on NXP P71D321
- nfcpy reading public information from contactless credit card with APDU commands
- How To Modify PKCS11 Object Value Attribute
- Yubikey 5: is it similar enough to smart cards for testing authentication?
Related Questions in JAVACARD
- How to return a slice in Java
- Is it possible Java Card supports NIO,like event-driven, reactor
- How do I read EF.PLMNsel?
- Can't install .cap file on NXP P71D321
- How can I upload a SIM applet through OTA
- How to communicate programmatically with the JCOP simulator, how to programmatically send APDUs to a JCOP simulator?
- Problem Loading Signed CAP file directly to Supplementary Security Domain
- an error occurred while building a Java Card project in Eclipse javax/xml/bind/JAXBException
- Bitcoin Transaction signing using Javacard
- Gemalto SmartCard Get status issue
- How to use APDU I/O API in Eclipse
- InitialiseSecureChannel error during profile package installation on an eUICC
- Why euicc manager get NO_SUCH_ELEMENT aka errcode 3?
- Java Card Eclipse Plug-in: APDU I/O API is hanging on powerUp()
- What are the correct steps to have a supplementary security domain with DAP verification?
Related Questions in GLOBALPLATFORM
- Can't install .cap file on NXP P71D321
- Problem Loading Signed CAP file directly to Supplementary Security Domain
- Gemalto SmartCard Get status issue
- InitialiseSecureChannel error during profile package installation on an eUICC
- What are the correct steps to have a supplementary security domain with DAP verification?
- How to Generate Session Keys SCP-03
- android.se.omapi.SEService: My app doesn't connect with the OnConnectedListener
- Why the exception is 0x6982 and not 0x6985?
- What does the SCARD_W_UNRESPONSIVE_CARD error on GlobalPlatform Pro indicate about the state of the card?
- Does GIDS applet support Secure Channel Protocol?
- JavaCard applet works on simulator but not on card
- Restrict client application for a specific trusted application within TEE
- ConfigureISDPRequest error during profile package installation into an ISD-P on an eUICC
- What is the use case of DAP Verification/Mandated DAP Verification in Global Platform card specification?
- why SET STATUS APDU command returns 6985?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If the package AID is always the same the installations should fail during the loading process automatically.
If the package and instance AIDs are using some pattern like an increasing last digit you could use
JCSystem.lookupAIDand try to iterate over the possible AIDs and fail if another instance is found.If you are taking into account that the AIDs are flexible you are out of luck on standard smart cards, what you need then is a global kind of data unique for all applets. When using an UICC e.g you could create a file in the file system and if your applet is part of the MNO's security domain you can check this file for existence.
Maybe you also protect the installation process, e.g. by using a personalization process. After the installation a personalization server has to approve the applet. The applet could use some random token and if this is not known by the personalization server the applet will never unlock some features to make it useful. This approach should always work.