|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectds.ov2.gui.Gui_protocol_messages
public class Gui_protocol_messages
Display various progress messages in the graphical demonstrator.
All the progress methods in here are called from deep within the
terminal thread. The methods must therefore not directly access the
GUI but rather publish suitable GUI
actions.
| Field Summary | |
|---|---|
private Terminal_thread |
terminal_thread
The Terminal thread that is used to publish the progress messages to the GUI. |
| Constructor Summary | |
|---|---|
Gui_protocol_messages(Terminal_thread terminal_thread)
Constructor. |
|
| Method Summary | |
|---|---|
void |
delete_applet_failure(String name)
Called when applet/package deletion failed (in Card_protocols.delete_applets). |
void |
delete_applet(String name)
Called before starting to delete an applet or a package (in Card_protocols.delete_applets). |
void |
entry_gate_committed(boolean signature_ok,
BigInteger blinded_a)
Called when the host received the commitment from the applet during the proof protocol. |
void |
entry_gate_finished(boolean result)
Called when the entry-gate proof protocol has been finished. |
void |
entry_gate_got_response()
Called when the host received the response from the applet for its challenge during the proof protocol. |
void |
entry_gate_start()
Called when the entry-gate proof protocol starts. |
void |
initialize_allocate_finished()
Called when the allocate call is finished. |
void |
initialize_allocate_start()
Called before the allocate call to the applet starts. |
void |
initialize_data_copied(BigInteger blinded_a)
Called when the initialize call to the applet completed and all data has been copied to the applet. |
void |
initialize_finished()
Called when applet initialization is finished. |
void |
initialize_resign()
Called before the start of the resign protocol that is part of applet initialization. |
void |
initialize_start()
Called when initialization starts. |
void |
load_applet_finished()
Called when applet loading finished during applet installation (in Card_protocols.install_applet_with_gps). |
void |
resign_checked_signature(boolean checked_signature)
Called when the signature of the applet was accepted during the resign protocol. |
void |
resign_finished(boolean accepted)
Called when the resign protocol has been finished. |
void |
resign_got_challenge()
Called when the host received the challenge from the applet during the resign protocol. |
void |
resign_got_signature(BigInteger blinded_a)
Called when the host received the attribute expression and the signature from the appled during the resign protocol. |
void |
resign_start()
Called when the resign protocol starts. |
void |
start_install(String name)
Called when starting to install an applet on a card (in Card_protocols.reinstall_personalize). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private final Terminal_thread terminal_thread
| Constructor Detail |
|---|
public Gui_protocol_messages(Terminal_thread terminal_thread)
terminal_thread - terminal thread instance to publish the
GUI progress messages| Method Detail |
|---|
public void start_install(String name)
Card_protocols.reinstall_personalize).
name - name of the appletpublic void load_applet_finished()
Card_protocols.install_applet_with_gps).
public void delete_applet(String name)
Card_protocols.delete_applets).
name - the name of the applet/packagepublic void delete_applet_failure(String name)
Card_protocols.delete_applets).
name - the name of the applet/packagepublic void initialize_start()
initialize_start in interface RSA_protocol_messagespublic void initialize_allocate_start()
initialize_allocate_start in interface RSA_protocol_messagespublic void initialize_allocate_finished()
initialize_allocate_finished in interface RSA_protocol_messagespublic void initialize_data_copied(BigInteger blinded_a)
initialize_data_copied in interface RSA_protocol_messagesblinded_a - the blinded attribute expression of the new
appletpublic void initialize_resign()
initialize_resign in interface RSA_protocol_messagespublic void initialize_finished()
initialize_finished in interface RSA_protocol_messagespublic void resign_start()
resign_start in interface RSA_protocol_messagespublic void resign_got_signature(BigInteger blinded_a)
resign_got_signature in interface RSA_protocol_messagesblinded_a - the blinded attribute expression of the appletpublic void resign_checked_signature(boolean checked_signature)
resign_checked_signature in interface RSA_protocol_messageschecked_signature - whether the signature was actually
checkedpublic void resign_got_challenge()
resign_got_challenge in interface RSA_protocol_messagespublic void resign_finished(boolean accepted)
resign_finished in interface RSA_protocol_messagesaccepted - true if the card accepted the new signaturepublic void entry_gate_start()
entry_gate_start in interface RSA_protocol_messages
public void entry_gate_committed(boolean signature_ok,
BigInteger blinded_a)
entry_gate_committed in interface RSA_protocol_messagessignature_ok - true if the applet produced a valid
signatureblinded_a - the blinded attribute expression of the new
appletpublic void entry_gate_got_response()
entry_gate_got_response in interface RSA_protocol_messagespublic void entry_gate_finished(boolean result)
entry_gate_finished in interface RSA_protocol_messagesresult - true if the response from the applet was valid
and the proof is therefore accepted
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||