ds.ov2.test
Class Data_protocol_description

java.lang.Object
  extended by ds.ov2.test.Data_protocol_description

public class Data_protocol_description
extends Object

Protocol description for Data_protocol. Defines suitable Protocol's and Protocol_steps for all protocols described in Data_protocol.id for use in the OV-chip protocol layer.

CPP Preprocessing
This class uses the following cpp defines: PACKAGE, JAVACARD_APPLET, APPLET_TESTFRAME, PUBLIC, ASSERT
Execution Environment:
host, card
Author:
idl compiler
Version:
automatically generated from Data_protocol.id

Nested Class Summary
(package private)  class Data_protocol_description.check_data_call
          Card action for step check_data in protocol check_data.
(package private)  class Data_protocol_description.set_size_call
          Card action for step set_size in protocol set_size.
 
Field Summary
(package private)  Resizable_buffer buf_0
          Variable declaration from Data_protocol.id.
(package private)  Resizable_buffer buf_1
          Variable declaration from Data_protocol.id.
(package private)  Resizable_buffer buf_2
          Variable declaration from Data_protocol.id.
(package private)  Resizable_buffer buf_3
          Variable declaration from Data_protocol.id.
(package private)  Resizable_buffer buf_4
          Variable declaration from Data_protocol.id.
(package private)  Resizable_buffer buf_5
          Variable declaration from Data_protocol.id.
(package private)  Resizable_buffer buf_6
          Variable declaration from Data_protocol.id.
(package private)  Resizable_buffer buf_7
          Variable declaration from Data_protocol.id.
(package private)  Resizable_buffer buf_8
          Variable declaration from Data_protocol.id.
(package private)  Resizable_buffer buf_9
          Variable declaration from Data_protocol.id.
(package private)  APDU_short_array buf_sizes
          Variable declaration from Data_protocol.id.
static short check_data_max_size
          The maximal size of the ten Resizable_buffer's used for the protocol data checks.
 Protocol check_data_protocol
          Protocol instance for protocol check_data.
(package private)  Protocol_step check_data_step
          Step instance for step check_data in protocol check_data.
(package private)  Data_protocol_card data
          Card variable declararion from Data_protocol.id.
(package private)  Protocol_step data_perf_answer_to_challenge_step
          Step instance for step data_perf_answer_to_challenge in protocol data_perf_proof.
(package private)  Protocol_step data_perf_proof_commit_step
          Step instance for step data_perf_proof_commit in protocol data_perf_proof.
 Protocol data_perf_proof_protocol
          Protocol instance for protocol data_perf_proof.
 Protocol data_performance_receive_protocol
          Protocol instance for protocol data_performance_receive.
(package private)  Protocol_step data_performance_receive_step
          Step instance for step data_performance_receive in protocol data_performance_receive.
 Protocol data_performance_send_protocol
          Protocol instance for protocol data_performance_send.
(package private)  Protocol_step data_performance_send_step
          Step instance for step data_performance_send in protocol data_performance_send.
(package private)  APDU_boolean performance_test
          Variable declaration from Data_protocol.id.
 Protocol set_size_protocol
          Protocol instance for protocol set_size.
(package private)  Protocol_step set_size_step
          Step instance for step set_size in protocol set_size.
(package private)  Test_protocols test_protocols
          Variable declaration from Data_protocol.id.
 
Constructor Summary
Data_protocol_description(Test_protocols test_protocols)
          Construct protocol descriptions.
 
Method Summary
 APDU_short_array get_buf_sizes()
          Return the buf_sizes array.
private  void init_check_data_protocol()
          Initialize check_data_protocol.
private  void init_check_data_step()
          Initialize check_data_step.
private  void init_data_perf_answer_to_challenge_step()
          Initialize data_perf_answer_to_challenge_step.
private  void init_data_perf_proof_commit_step()
          Initialize data_perf_proof_commit_step.
private  void init_data_perf_proof_protocol()
          Initialize data_perf_proof_protocol.
private  void init_data_performance_receive_protocol()
          Initialize data_performance_receive_protocol.
private  void init_data_performance_receive_step()
          Initialize data_performance_receive_step.
private  void init_data_performance_send_protocol()
          Initialize data_performance_send_protocol.
private  void init_data_performance_send_step()
          Initialize data_performance_send_step.
private  void init_set_size_protocol()
          Initialize set_size_protocol.
private  void init_set_size_step()
          Initialize set_size_step.
 void set_size()
          Change the sizes of the Resizable_buffer's.
 void update_all()
          Update all protocols in this object.
 void update_check_data_protocol()
          Update check_data_protocol.
 void update_check_data_step()
          Update step instance in check_data_step.
 void update_data_perf_answer_to_challenge_step()
          Update step instance in data_perf_answer_to_challenge_step.
 void update_data_perf_proof_commit_step()
          Update step instance in data_perf_proof_commit_step.
 void update_data_perf_proof_protocol()
          Update data_perf_proof_protocol.
 void update_data_performance_receive_protocol()
          Update data_performance_receive_protocol.
 void update_data_performance_receive_step()
          Update step instance in data_performance_receive_step.
 void update_data_performance_send_protocol()
          Update data_performance_send_protocol.
 void update_data_performance_send_step()
          Update step instance in data_performance_send_step.
 void update_set_size_protocol()
          Update set_size_protocol.
 void update_set_size_step()
          Update step instance in set_size_step.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

data

Data_protocol_card data
Card variable declararion from Data_protocol.id.

Only available if either JAVACARD_APPLET or APPLET_TESTFRAME is defined.


test_protocols

Test_protocols test_protocols
Variable declaration from Data_protocol.id.


buf_0

Resizable_buffer buf_0
Variable declaration from Data_protocol.id.


buf_1

Resizable_buffer buf_1
Variable declaration from Data_protocol.id.


buf_2

Resizable_buffer buf_2
Variable declaration from Data_protocol.id.


buf_3

Resizable_buffer buf_3
Variable declaration from Data_protocol.id.


buf_4

Resizable_buffer buf_4
Variable declaration from Data_protocol.id.


buf_5

Resizable_buffer buf_5
Variable declaration from Data_protocol.id.


buf_6

Resizable_buffer buf_6
Variable declaration from Data_protocol.id.


buf_7

Resizable_buffer buf_7
Variable declaration from Data_protocol.id.


buf_8

Resizable_buffer buf_8
Variable declaration from Data_protocol.id.


buf_9

Resizable_buffer buf_9
Variable declaration from Data_protocol.id.


buf_sizes

APDU_short_array buf_sizes
Variable declaration from Data_protocol.id.


performance_test

APDU_boolean performance_test
Variable declaration from Data_protocol.id.


check_data_max_size

public static final short check_data_max_size
The maximal size of the ten Resizable_buffer's used for the protocol data checks. Has value 2100.

See Also:
Constant Field Values

check_data_step

Protocol_step check_data_step
Step instance for step check_data in protocol check_data.


check_data_protocol

public Protocol check_data_protocol
Protocol instance for protocol check_data.


set_size_step

Protocol_step set_size_step
Step instance for step set_size in protocol set_size.


set_size_protocol

public Protocol set_size_protocol
Protocol instance for protocol set_size.


data_performance_receive_step

Protocol_step data_performance_receive_step
Step instance for step data_performance_receive in protocol data_performance_receive.


data_performance_receive_protocol

public Protocol data_performance_receive_protocol
Protocol instance for protocol data_performance_receive.


data_performance_send_step

Protocol_step data_performance_send_step
Step instance for step data_performance_send in protocol data_performance_send.


data_performance_send_protocol

public Protocol data_performance_send_protocol
Protocol instance for protocol data_performance_send.


data_perf_proof_commit_step

Protocol_step data_perf_proof_commit_step
Step instance for step data_perf_proof_commit in protocol data_perf_proof.


data_perf_answer_to_challenge_step

Protocol_step data_perf_answer_to_challenge_step
Step instance for step data_perf_answer_to_challenge in protocol data_perf_proof.


data_perf_proof_protocol

public Protocol data_perf_proof_protocol
Protocol instance for protocol data_perf_proof.

Constructor Detail

Data_protocol_description

public Data_protocol_description(Test_protocols test_protocols)
Construct protocol descriptions. Construct and initialize the protocol descriptions for all protocols described in Data_protocol.id, except for those that are declared as delayed there.

Method Detail

set_size

public void set_size()
Change the sizes of the Resizable_buffer's. The sizes are taken from buf_sizes. The new actual sizes of the buffers are afterwards written back into buf_sizes. This method does also call Test_protocols.set_result_sizes() to update the result sizes of all registered protocols.


get_buf_sizes

public APDU_short_array get_buf_sizes()
Return the buf_sizes array.

Returns:
the buf_sizes array

init_check_data_step

private void init_check_data_step()
Initialize check_data_step. Initialize the step instance for step check_data in protocol check_data.


update_check_data_step

public void update_check_data_step()
Update step instance in check_data_step. Update argument and result references in the step check_data of protocol check_data.


init_check_data_protocol

private void init_check_data_protocol()
Initialize check_data_protocol. Initialize the protocol instance for protocol check_data.


update_check_data_protocol

public void update_check_data_protocol()
Update check_data_protocol. Update argument and result references in all steps of protocol check_data.


init_set_size_step

private void init_set_size_step()
Initialize set_size_step. Initialize the step instance for step set_size in protocol set_size.


update_set_size_step

public void update_set_size_step()
Update step instance in set_size_step. Update argument and result references in the step set_size of protocol set_size.


init_set_size_protocol

private void init_set_size_protocol()
Initialize set_size_protocol. Initialize the protocol instance for protocol set_size.


update_set_size_protocol

public void update_set_size_protocol()
Update set_size_protocol. Update argument and result references in all steps of protocol set_size.


init_data_performance_receive_step

private void init_data_performance_receive_step()
Initialize data_performance_receive_step. Initialize the step instance for step data_performance_receive in protocol data_performance_receive.


update_data_performance_receive_step

public void update_data_performance_receive_step()
Update step instance in data_performance_receive_step. Update argument and result references in the step data_performance_receive of protocol data_performance_receive.


init_data_performance_receive_protocol

private void init_data_performance_receive_protocol()
Initialize data_performance_receive_protocol. Initialize the protocol instance for protocol data_performance_receive.


update_data_performance_receive_protocol

public void update_data_performance_receive_protocol()
Update data_performance_receive_protocol. Update argument and result references in all steps of protocol data_performance_receive.


init_data_performance_send_step

private void init_data_performance_send_step()
Initialize data_performance_send_step. Initialize the step instance for step data_performance_send in protocol data_performance_send.


update_data_performance_send_step

public void update_data_performance_send_step()
Update step instance in data_performance_send_step. Update argument and result references in the step data_performance_send of protocol data_performance_send.


init_data_performance_send_protocol

private void init_data_performance_send_protocol()
Initialize data_performance_send_protocol. Initialize the protocol instance for protocol data_performance_send.


update_data_performance_send_protocol

public void update_data_performance_send_protocol()
Update data_performance_send_protocol. Update argument and result references in all steps of protocol data_performance_send.


init_data_perf_proof_commit_step

private void init_data_perf_proof_commit_step()
Initialize data_perf_proof_commit_step. Initialize the step instance for step data_perf_proof_commit in protocol data_perf_proof.


update_data_perf_proof_commit_step

public void update_data_perf_proof_commit_step()
Update step instance in data_perf_proof_commit_step. Update argument and result references in the step data_perf_proof_commit of protocol data_perf_proof.


init_data_perf_answer_to_challenge_step

private void init_data_perf_answer_to_challenge_step()
Initialize data_perf_answer_to_challenge_step. Initialize the step instance for step data_perf_answer_to_challenge in protocol data_perf_proof.


update_data_perf_answer_to_challenge_step

public void update_data_perf_answer_to_challenge_step()
Update step instance in data_perf_answer_to_challenge_step. Update argument and result references in the step data_perf_answer_to_challenge of protocol data_perf_proof.


init_data_perf_proof_protocol

private void init_data_perf_proof_protocol()
Initialize data_perf_proof_protocol. Initialize the protocol instance for protocol data_perf_proof.


update_data_perf_proof_protocol

public void update_data_perf_proof_protocol()
Update data_perf_proof_protocol. Update argument and result references in all steps of protocol data_perf_proof.


update_all

public void update_all()
Update all protocols in this object. Update all argument and result references in all steps of all protocol instances described in Data_protocol.id.