public class GPRegistry extends Object implements Iterable<GPRegistryEntry>
AIDRegistryEntries with search functionality.
Implements Iterable<GPRegistryEntry to permit foreach loops such as
for(GPRegistryEntry e : registry) ....| Constructor and Description |
|---|
GPRegistry() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(GPRegistryEntry entry)
Add one entry to this registry.
|
List<pro.javacard.AID> |
allAIDs() |
List<pro.javacard.AID> |
allAppletAIDs() |
List<GPRegistryEntryApp> |
allApplets()
Returns a list of all applets in this registry.
|
List<GPRegistryEntryApp> |
allDomains() |
List<pro.javacard.AID> |
allPackageAIDs() |
List<GPRegistryEntryPkg> |
allPackages()
Returns a list of all packages in this registry.
|
pro.javacard.AID |
getDefaultSelectedAID() |
pro.javacard.AID |
getDefaultSelectedPackageAID() |
GPRegistryEntryApp |
getDomain(pro.javacard.AID aid) |
GPRegistryEntryApp |
getISD() |
Iterator<GPRegistryEntry> |
iterator()
Returns an iterator that iterates over all entries in this registry.
|
void |
parse(int p1,
byte[] data,
GPRegistryEntry.Kind type,
GlobalPlatform.GPSpec spec) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic void add(GPRegistryEntry entry)
entry - public Iterator<GPRegistryEntry> iterator()
iterator in interface Iterable<GPRegistryEntry>public List<GPRegistryEntryPkg> allPackages()
public List<pro.javacard.AID> allPackageAIDs()
public List<pro.javacard.AID> allAppletAIDs()
public List<pro.javacard.AID> allAIDs()
public GPRegistryEntryApp getDomain(pro.javacard.AID aid)
public List<GPRegistryEntryApp> allApplets()
public List<GPRegistryEntryApp> allDomains()
public pro.javacard.AID getDefaultSelectedAID()
public pro.javacard.AID getDefaultSelectedPackageAID()
public GPRegistryEntryApp getISD()
public void parse(int p1,
byte[] data,
GPRegistryEntry.Kind type,
GlobalPlatform.GPSpec spec)
throws GPDataException
GPDataExceptionCopyright © 2018. All rights reserved.