|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectds.ov2.front.RSA_card_debug_stubs
public class RSA_card_debug_stubs
Stub code for running methods on the card. Defines one stub method for each protocol step in RSA_card_debug.id. The stub methods are the top entry point into the OV-chip protocol layer for host driver code. Each stub method performs the following actions:
BigInteger to
Bignat)
| Nested Class Summary | |
|---|---|
static class |
RSA_card_debug_stubs.Get_result
Result record for step get of protocol status. |
static class |
RSA_card_debug_stubs.Mem_size_result
Result record for step mem_size of protocol mem_size. |
| Field Summary | |
|---|---|
private Host_protocol |
hp_get
Host protocol instance for step get of protocol status. |
private Host_protocol |
hp_mem_size
Host protocol instance for step mem_size of protocol mem_size. |
private Host_protocol |
hp_reset
Host protocol instance for step reset of protocol reset_applet_state. |
private PrintWriter |
out
The output channel for debugging information of the OV-chip protocol layer. |
private RSA_card_debug_description |
protocol_description
A protocol description instance from RSA_card_debug.id. |
private boolean |
with_apdu_script
Controls apdutool line printing. |
| Constructor Summary | |
|---|---|
RSA_card_debug_stubs(RSA_card_debug_description d,
PrintWriter o,
boolean script)
Stub constructor. |
|
| Method Summary | |
|---|---|
void |
delayed_init()
Delayed initialization. |
RSA_card_debug_stubs.Get_result |
get_call(CardChannel _cc)
Call step get of protocol status on the card. |
private void |
init_hp_get(RSA_card_debug_description d,
PrintWriter out,
boolean script)
Initialization method for hp_get. |
private void |
init_hp_mem_size(RSA_card_debug_description d,
PrintWriter out,
boolean script)
Initialization method for hp_mem_size. |
private void |
init_hp_reset(RSA_card_debug_description d,
PrintWriter out,
boolean script)
Initialization method for hp_reset. |
RSA_card_debug_stubs.Mem_size_result |
mem_size_call(CardChannel _cc)
Call step mem_size of protocol mem_size on the card. |
void |
reset_call(CardChannel _cc)
Call step reset of protocol reset_applet_state on the card. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private RSA_card_debug_description protocol_description
private PrintWriter out
private boolean with_apdu_script
private Host_protocol hp_get
init_hp_get
(which is called from delayed_init()).
private Host_protocol hp_mem_size
init_hp_mem_size
(which is called from the constructor).
private Host_protocol hp_reset
init_hp_reset
(which is called from the constructor).
| Constructor Detail |
|---|
public RSA_card_debug_stubs(RSA_card_debug_description d,
PrintWriter o,
boolean script)
delayed_init() at the appropriate moment.
d - protocol description instance for RSA_card_debug.ido - channel for printing debugging information, pass null
for disabling debugging informationscript - if true, print apdutool lines for all APDUs as part
of the debugging information.| Method Detail |
|---|
private void init_hp_get(RSA_card_debug_description d,
PrintWriter out,
boolean script)
hp_get.
d - description instance for RSA_card_debug.idout - the debugging out channel, null for disabling
debugging outputscript - whether this step prints apdutool lines
public RSA_card_debug_stubs.Get_result get_call(CardChannel _cc)
throws CardException
_cc - communication channel to the applet, must not be null
CardException - in case of communication errors
private void init_hp_mem_size(RSA_card_debug_description d,
PrintWriter out,
boolean script)
hp_mem_size.
d - description instance for RSA_card_debug.idout - the debugging out channel, null for disabling
debugging outputscript - whether this step prints apdutool lines
public RSA_card_debug_stubs.Mem_size_result mem_size_call(CardChannel _cc)
throws CardException
_cc - communication channel to the applet, must not be null
CardException - in case of communication errors
private void init_hp_reset(RSA_card_debug_description d,
PrintWriter out,
boolean script)
hp_reset.
d - description instance for RSA_card_debug.idout - the debugging out channel, null for disabling
debugging outputscript - whether this step prints apdutool lines
public void reset_call(CardChannel _cc)
throws CardException
_cc - communication channel to the applet, must not be null
CardException - in case of communication errorspublic void delayed_init()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||