|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RSA_protocol_messages
Generate protocol progress messages. An instance of this interface
can be passed into several methods of RSA_host_card
. At
certain points these method call the appropriate methods of this
interface to display some progress message.
Method Summary | |
---|---|
void |
entry_gate_committed(boolean signature_ok,
BigInteger blinded_a)
Called when the host received the commitment from the applet during the proof protocol (in RSA_host_card.check_gate ). |
void |
entry_gate_finished(boolean result)
Called when the entry-gate proof protocol has been finished (in RSA_host_card.check_gate ). |
void |
entry_gate_got_response()
Called when the host received the response from the applet for its challenge during the proof protocol (in RSA_host_card.check_gate ). |
void |
entry_gate_start()
Called when the entry-gate proof protocol starts (in RSA_host_card.check_gate ). |
void |
initialize_allocate_finished()
Called when the allocate call is finished (in RSA_host_card.initialize_card ). |
void |
initialize_allocate_start()
Called before the allocate call to the applet starts (in RSA_host_card.initialize_card ). |
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 (in RSA_host_card.initialize_card ). |
void |
initialize_finished()
Called when applet initialization is finished (in RSA_host_card.issue_card ). |
void |
initialize_resign()
Called before the start of the resign protocol that is part of applet initialization (in RSA_host_card.issue_card ). |
void |
initialize_start()
Called when initialization starts in RSA_host_card.issue_card |
void |
resign_checked_signature(boolean checked_signature)
Called when the signature of the applet was accepted during the resign protocol (in RSA_host_card.resign ). |
void |
resign_finished(boolean accepted)
Called when the resign protocol has been finished (in RSA_host_card.resign ). |
void |
resign_got_challenge()
Called when the host received the challenge from the applet during the resign protocol (in RSA_host_card.resign ). |
void |
resign_got_signature(BigInteger blinded_a)
Called when the host received the attribute expression and the signature from the applet during the resign protocol (in RSA_host_card.resign ). |
void |
resign_start()
Called when the resign protocol starts (in RSA_host_card.resign ). |
Method Detail |
---|
void initialize_start()
RSA_host_card.issue_card
void initialize_allocate_start()
RSA_host_card.initialize_card
).
void initialize_allocate_finished()
RSA_host_card.initialize_card
).
void initialize_data_copied(BigInteger blinded_a)
RSA_host_card.initialize_card
).
blinded_a
- the blinded attribute expression of the new
appletvoid initialize_resign()
RSA_host_card.issue_card
).
void initialize_finished()
RSA_host_card.issue_card
).
void resign_start()
RSA_host_card.resign
).
void resign_got_signature(BigInteger blinded_a)
RSA_host_card.resign
).
blinded_a
- the blinded attribute expression of the appletvoid resign_checked_signature(boolean checked_signature)
RSA_host_card.resign
). The signature can be accepted either
because it is a valid signature or because signature checking
is disabled (as in the resign protocol that is part of applet
initialization).
checked_signature
- whether the signature was actually
checkedvoid resign_got_challenge()
RSA_host_card.resign
).
void resign_finished(boolean accepted)
RSA_host_card.resign
).
accepted
- true if the card accepted the new signaturevoid entry_gate_start()
RSA_host_card.check_gate
).
void entry_gate_committed(boolean signature_ok, BigInteger blinded_a)
RSA_host_card.check_gate
).
signature_ok
- true if the applet produced a valid
signatureblinded_a
- the blinded attribute expression of the new
appletvoid entry_gate_got_response()
RSA_host_card.check_gate
).
void entry_gate_finished(boolean result)
RSA_host_card.check_gate
).
result
- 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 |