|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectopencard.core.service.CardService
de.cardcontact.opencard.service.globalplatform.SecurityDomainCardService
public class SecurityDomainCardService
Class implementing a Global Platform Security Domain card service
| Constructor Summary | |
|---|---|
SecurityDomainCardService()
|
|
| Method Summary | |
|---|---|
ResponseAPDU |
deleteAID(byte[] aid)
Issue DELETE command to remove package with given AID from card |
protected void |
initialize(CardServiceScheduler scheduler,
SmartCard smartcard,
boolean blocking)
Create the IsoCardState object in the card channel if it does not yet exist. |
ResponseAPDU |
installForInstallAndSelectable(byte[] loadFileAID,
byte[] execModAID,
byte[] appInsAID,
byte[] privileges,
byte[] installParam,
byte[] installToken)
Issue INSTALL command with INSTALL FOR INSTALL and SELECTABLE option to security domain |
ResponseAPDU |
installForLoad(byte[] loadFileAID,
byte[] secDomAID,
byte[] loadDBHash,
byte[] loadParam,
byte[] loadToken)
Issue INSTALL command with INSTALL FOR LOAD option to security domain |
ResponseAPDU |
load(CapFile capFile)
Load load file into card using a sequence of LOAD apdus |
ResponseAPDU |
select(AppletID id,
boolean next)
Select applet using SELECT command and application identifier passed in id If the argument id is set to null, then the issuer security domain is selected |
| Methods inherited from class opencard.core.service.CardService |
|---|
allocateCardChannel, getCard, getCardChannel, getCHVDialog, releaseCardChannel, setCardChannel, setCHVDialog |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecurityDomainCardService()
| Method Detail |
|---|
protected void initialize(CardServiceScheduler scheduler,
SmartCard smartcard,
boolean blocking)
throws CardServiceException
initialize in class CardServicescheduler - where this service is going to allocate channelssmartcard - which smartcard has to be supported by this serviceblocking - whether channel allocation is going to be blocking
CardServiceException - if the service could not be initialized. The object created via the
default constructor may not be used if this happens.CardServiceFactory
public ResponseAPDU select(AppletID id,
boolean next)
throws CardTerminalException
id - Applet Id (AID) or nullnext - True to select next matching AID
CardTerminalException
public ResponseAPDU installForInstallAndSelectable(byte[] loadFileAID,
byte[] execModAID,
byte[] appInsAID,
byte[] privileges,
byte[] installParam,
byte[] installToken)
throws CardTerminalException
loadFileAID - AID for load file in cardexecModAID - AID for module contained in load fileappInsAID - AID for application instanceprivileges - Privileges for applicationinstallParam - Install parameter for applicationinstallToken - Install tokens
CardTerminalException
public ResponseAPDU installForLoad(byte[] loadFileAID,
byte[] secDomAID,
byte[] loadDBHash,
byte[] loadParam,
byte[] loadToken)
throws CardTerminalException
loadFileAID - secDomAID - loadDBHash - loadParam - loadToken -
CardTerminalException
public ResponseAPDU load(CapFile capFile)
throws CardTerminalException
capFile - Load file with cap components
CardTerminalException
public ResponseAPDU deleteAID(byte[] aid)
throws CardTerminalException
aid -
CardTerminalException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||