2 Replies Latest reply: May 3, 2012 12:20 AM by safarmer RSS

    Who know about  isAssociated method?

      Here is the description about isAssociated method in the GPRegistryEntry class:
      boolean      isAssociated(javacard.framework.AID SDAID)
      This method allows to verify if the entity whose AID is provided in the input parameters is registered as the associated Security Domain of this GPRegistryEntry

      * The OPEN determines if the SDAID is registered in the current GlobalPlatform Registry's entry as the associated Security Domain.

      SDAID - object of the investigated Security Domain.
      True if the GP Registry references the Security Domain as being associated with this GPRegistryEntry, or False otherwise

      i want to create test code to test when isAssociated return true or false. But i dont know how to code it.

      Please help me and give me the solution :((