ds.ov2.front
Class RSA_card_protocol_description

java.lang.Object
  extended by ds.ov2.front.RSA_card_protocol_description

public class RSA_card_protocol_description
extends Object

Protocol description for RSA_card_protocol. Defines suitable Protocol's and Protocol_steps for all protocols described in RSA_card_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 RSA_card_protocol.id

Nested Class Summary
(package private)  class RSA_card_protocol_description.allocate_call
          Card action for step allocate in protocol allocate.
(package private)  class RSA_card_protocol_description.commit_call
          Card action for step commit in protocol gate.
(package private)  class RSA_card_protocol_description.finish_signature_call
          Card action for step finish_signature in protocol resign.
(package private)  class RSA_card_protocol_description.init_data_call
          Card action for step init_data in protocol initialize.
(package private)  class RSA_card_protocol_description.make_sig_hash_call
          Card action for step make_sig_hash in protocol resign.
(package private)  class RSA_card_protocol_description.respond_call
          Card action for step respond in protocol gate.
 
Field Summary
 Protocol allocate_protocol
          Protocol instance for protocol allocate.
(package private)  Protocol_step allocate_step
          Step instance for step allocate in protocol allocate.
(package private)  APDU_short attribute_length
          Variable declaration from RSA_card_protocol.id.
(package private)  RSA_plain_card card
          Card variable declararion from RSA_card_protocol.id.
(package private)  Protocol_step commit_step
          Step instance for step commit in protocol gate.
(package private)  RSA_data data
          Variable declaration from RSA_card_protocol.id.
(package private)  Protocol_step finish_signature_step
          Step instance for step finish_signature in protocol resign.
(package private)  Front_protocols front_protocols
          Variable declaration from RSA_card_protocol.id.
 Protocol gate_protocol
          Protocol instance for protocol gate.
(package private)  Protocol_step get_signature_step
          Step instance for step get_signature in protocol resign.
(package private)  Protocol_step init_data_step
          Step instance for step init_data in protocol initialize.
 Protocol initialize_protocol
          Protocol instance for protocol initialize.
(package private)  APDU_short long_bignat_size
          Variable declaration from RSA_card_protocol.id.
(package private)  Protocol_step make_sig_hash_step
          Step instance for step make_sig_hash in protocol resign.
(package private)  APDU_short mont_correction_len
          Variable declaration from RSA_card_protocol.id.
 Protocol resign_protocol
          Protocol instance for protocol resign.
(package private)  Protocol_step respond_step
          Step instance for step respond in protocol gate.
(package private)  APDU_short short_bignat_size
          Variable declaration from RSA_card_protocol.id.
(package private)  APDU_boolean signature_accepted
          Variable declaration from RSA_card_protocol.id.
 
Constructor Summary
RSA_card_protocol_description(Front_protocols front_protocols)
          Construct protocol descriptions.
 
Method Summary
 void delayed_init()
          Initialization of delayed protocols.
private  void init_allocate_protocol()
          Initialize allocate_protocol.
private  void init_allocate_step()
          Initialize allocate_step.
private  void init_commit_step()
          Initialize commit_step.
private  void init_finish_signature_step()
          Initialize finish_signature_step.
private  void init_gate_protocol()
          Initialize gate_protocol.
private  void init_get_signature_step()
          Initialize get_signature_step.
private  void init_init_data_step()
          Initialize init_data_step.
private  void init_initialize_protocol()
          Initialize initialize_protocol.
private  void init_make_sig_hash_step()
          Initialize make_sig_hash_step.
private  void init_resign_protocol()
          Initialize resign_protocol.
private  void init_respond_step()
          Initialize respond_step.
 void update_all()
          Update all protocols in this object.
 void update_allocate_protocol()
          Update allocate_protocol.
 void update_allocate_step()
          Update step instance in allocate_step.
 void update_commit_step()
          Update step instance in commit_step.
 void update_finish_signature_step()
          Update step instance in finish_signature_step.
 void update_gate_protocol()
          Update gate_protocol.
 void update_get_signature_step()
          Update step instance in get_signature_step.
 void update_init_data_step()
          Update step instance in init_data_step.
 void update_initialize_protocol()
          Update initialize_protocol.
 void update_make_sig_hash_step()
          Update step instance in make_sig_hash_step.
 void update_resign_protocol()
          Update resign_protocol.
 void update_respond_step()
          Update step instance in respond_step.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

card

RSA_plain_card card
Card variable declararion from RSA_card_protocol.id.

Only available if either JAVACARD_APPLET or APPLET_TESTFRAME is defined.


front_protocols

Front_protocols front_protocols
Variable declaration from RSA_card_protocol.id.


data

RSA_data data
Variable declaration from RSA_card_protocol.id.


short_bignat_size

APDU_short short_bignat_size
Variable declaration from RSA_card_protocol.id.


long_bignat_size

APDU_short long_bignat_size
Variable declaration from RSA_card_protocol.id.


attribute_length

APDU_short attribute_length
Variable declaration from RSA_card_protocol.id.


mont_correction_len

APDU_short mont_correction_len
Variable declaration from RSA_card_protocol.id.


signature_accepted

APDU_boolean signature_accepted
Variable declaration from RSA_card_protocol.id.


allocate_step

Protocol_step allocate_step
Step instance for step allocate in protocol allocate.


allocate_protocol

public Protocol allocate_protocol
Protocol instance for protocol allocate.


init_data_step

Protocol_step init_data_step
Step instance for step init_data in protocol initialize.


initialize_protocol

public Protocol initialize_protocol
Protocol instance for protocol initialize.


get_signature_step

Protocol_step get_signature_step
Step instance for step get_signature in protocol resign.


make_sig_hash_step

Protocol_step make_sig_hash_step
Step instance for step make_sig_hash in protocol resign.


finish_signature_step

Protocol_step finish_signature_step
Step instance for step finish_signature in protocol resign.


resign_protocol

public Protocol resign_protocol
Protocol instance for protocol resign.


commit_step

Protocol_step commit_step
Step instance for step commit in protocol gate.


respond_step

Protocol_step respond_step
Step instance for step respond in protocol gate.


gate_protocol

public Protocol gate_protocol
Protocol instance for protocol gate.

Constructor Detail

RSA_card_protocol_description

public RSA_card_protocol_description(Front_protocols front_protocols)
Construct protocol descriptions. Construct and initialize the protocol descriptions for all protocols described in RSA_card_protocol.id, except for those that are declared as delayed there.

Method Detail

init_allocate_step

private void init_allocate_step()
Initialize allocate_step. Initialize the step instance for step allocate in protocol allocate.


update_allocate_step

public void update_allocate_step()
Update step instance in allocate_step. Update argument and result references in the step allocate of protocol allocate.


init_allocate_protocol

private void init_allocate_protocol()
Initialize allocate_protocol. Initialize the protocol instance for protocol allocate.


update_allocate_protocol

public void update_allocate_protocol()
Update allocate_protocol. Update argument and result references in all steps of protocol allocate.


init_init_data_step

private void init_init_data_step()
Initialize init_data_step. Initialize the step instance for step init_data in protocol initialize.


update_init_data_step

public void update_init_data_step()
Update step instance in init_data_step. Update argument and result references in the step init_data of protocol initialize.


init_initialize_protocol

private void init_initialize_protocol()
Initialize initialize_protocol. Initialize the protocol instance for protocol initialize.


update_initialize_protocol

public void update_initialize_protocol()
Update initialize_protocol. Update argument and result references in all steps of protocol initialize.


init_get_signature_step

private void init_get_signature_step()
Initialize get_signature_step. Initialize the step instance for step get_signature in protocol resign.


update_get_signature_step

public void update_get_signature_step()
Update step instance in get_signature_step. Update argument and result references in the step get_signature of protocol resign.


init_make_sig_hash_step

private void init_make_sig_hash_step()
Initialize make_sig_hash_step. Initialize the step instance for step make_sig_hash in protocol resign.


update_make_sig_hash_step

public void update_make_sig_hash_step()
Update step instance in make_sig_hash_step. Update argument and result references in the step make_sig_hash of protocol resign.


init_finish_signature_step

private void init_finish_signature_step()
Initialize finish_signature_step. Initialize the step instance for step finish_signature in protocol resign.


update_finish_signature_step

public void update_finish_signature_step()
Update step instance in finish_signature_step. Update argument and result references in the step finish_signature of protocol resign.


init_resign_protocol

private void init_resign_protocol()
Initialize resign_protocol. Initialize the protocol instance for protocol resign.


update_resign_protocol

public void update_resign_protocol()
Update resign_protocol. Update argument and result references in all steps of protocol resign.


init_commit_step

private void init_commit_step()
Initialize commit_step. Initialize the step instance for step commit in protocol gate.


update_commit_step

public void update_commit_step()
Update step instance in commit_step. Update argument and result references in the step commit of protocol gate.


init_respond_step

private void init_respond_step()
Initialize respond_step. Initialize the step instance for step respond in protocol gate.


update_respond_step

public void update_respond_step()
Update step instance in respond_step. Update argument and result references in the step respond of protocol gate.


init_gate_protocol

private void init_gate_protocol()
Initialize gate_protocol. Initialize the protocol instance for protocol gate.


update_gate_protocol

public void update_gate_protocol()
Update gate_protocol. Update argument and result references in all steps of protocol gate.


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 RSA_card_protocol.id.


delayed_init

public void delayed_init()
Initialization of delayed protocols. Initialization of those protocols and their steps that are declared as delayed in RSA_card_protocol.id.