|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.javacard.rmiclientlib.JCRMIConnect
public class JCRMIConnect
The main class of the Java Card RMI client API. Provides functionality to select a card applet and to obtain an initial reference.
Field Summary | |
---|---|
protected byte |
format
Format of the remote references. |
static byte |
REF_WITH_CLASS_NAME
Constant used as the 2nd parameter to selectApplet method. |
static byte |
REF_WITH_INTERFACE_NAMES
Constant used as the 2nd parameter to selectApplet method. |
protected byte[] |
selectResponse
Response to the SELECT command is stored in this field. |
Constructor Summary | |
---|---|
JCRMIConnect(CardAccessor ca)
Creates a new instance of JCRMIConnect |
Method Summary | |
---|---|
java.rmi.Remote |
getInitialReference()
Parses the R-APDU which was returned during selecting an applet, returns a reference to an initial remote object |
byte[] |
selectApplet(byte[] aid,
byte format)
Selects an applet, requesting initial reference in the format specified by the 2nd parameter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected byte[] selectResponse
protected byte format
public static final byte REF_WITH_CLASS_NAME
public static final byte REF_WITH_INTERFACE_NAMES
Constructor Detail |
---|
public JCRMIConnect(CardAccessor ca)
ca
- Implementaion of a CardAccessorMethod Detail |
---|
public java.rmi.Remote getInitialReference() throws java.lang.Exception
java.lang.Exception
- If a problem occuredpublic byte[] selectApplet(byte[] aid, byte format) throws java.lang.Exception
aid
- AID of the applet to be selectedformat
- Format of the remote references
java.lang.Exception
- If a problem occured
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |