This discussion is archived
2 Replies Latest reply: May 2, 2012 10:20 PM by safarmer RSS

Who know about  isAssociated method?

921719 Newbie
Currently Being Moderated
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 :((


  • Correct Answers - 10 points
  • Helpful Answers - 5 points