Class SmartCardHSMAppletState
- java.lang.Object
-
- opencard.opt.applet.AppletState
-
- de.cardcontact.opencard.service.smartcardhsm.SmartCardHSMAppletState
-
public class SmartCardHSMAppletState extends AppletState
Class maintaining the applet state across card services instances- Author:
- asc
-
-
Constructor Summary
Constructors Constructor Description SmartCardHSMAppletState()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appletDeselected()
This method is to be called when the applet to which the AppletState belongs was deselected.SecureChannelCredential
getSecureChannelCredential()
int
getVersion()
void
setSecureChannelCredential(SecureChannelCredential secureChannelCredential)
void
setVersion(int version)
boolean
useSecureChannel()
-
-
-
Method Detail
-
setVersion
public void setVersion(int version)
-
getVersion
public int getVersion()
-
getSecureChannelCredential
public SecureChannelCredential getSecureChannelCredential()
-
setSecureChannelCredential
public void setSecureChannelCredential(SecureChannelCredential secureChannelCredential)
-
useSecureChannel
public boolean useSecureChannel()
-
appletDeselected
public void appletDeselected()
Description copied from class:AppletState
This method is to be called when the applet to which the AppletState belongs was deselected. It gives the state the possibility to adapt to the change of the applet state on the card caused by applet deselection.- Specified by:
appletDeselected
in classAppletState
-
-