ds.ov2.front
Interface RSA_protocol_messages

All Known Implementing Classes:
Gui_protocol_messages

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.

CPP Preprocessing
no cpp preprocessing needed
Execution Environment:
host
Author:
Hendrik Tews
Version:
$Revision: 1.6 $
Last Commit:
$Date: 2009-06-16 08:16:05 $ by $Author: tews $

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

initialize_start

void initialize_start()
Called when initialization starts in RSA_host_card.issue_card


initialize_allocate_start

void initialize_allocate_start()
Called before the allocate call to the applet starts (in RSA_host_card.initialize_card).


initialize_allocate_finished

void initialize_allocate_finished()
Called when the allocate call is finished (in RSA_host_card.initialize_card).


initialize_data_copied

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).

Parameters:
blinded_a - the blinded attribute expression of the new applet

initialize_resign

void initialize_resign()
Called before the start of the resign protocol that is part of applet initialization (in RSA_host_card.issue_card).


initialize_finished

void initialize_finished()
Called when applet initialization is finished (in RSA_host_card.issue_card).


resign_start

void resign_start()
Called when the resign protocol starts (in RSA_host_card.resign).


resign_got_signature

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).

Parameters:
blinded_a - the blinded attribute expression of the applet

resign_checked_signature

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). 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).

Parameters:
checked_signature - whether the signature was actually checked

resign_got_challenge

void resign_got_challenge()
Called when the host received the challenge from the applet during the resign protocol (in RSA_host_card.resign).


resign_finished

void resign_finished(boolean accepted)
Called when the resign protocol has been finished (in RSA_host_card.resign).

Parameters:
accepted - true if the card accepted the new signature

entry_gate_start

void entry_gate_start()
Called when the entry-gate proof protocol starts (in RSA_host_card.check_gate).


entry_gate_committed

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).

Parameters:
signature_ok - true if the applet produced a valid signature
blinded_a - the blinded attribute expression of the new applet

entry_gate_got_response

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).


entry_gate_finished

void entry_gate_finished(boolean result)
Called when the entry-gate proof protocol has been finished (in RSA_host_card.check_gate).

Parameters:
result - true if the response from the applet was valid and the proof is therefore accepted