public interface OTBatchReceiver
Every class that implements it is signed as Batch Oblivious Transfer receiver.
OTBatchROutput transfer(Channel channel, OTBatchRInput input) throws CheatAttemptException, java.io.IOException, java.lang.ClassNotFoundException
The OT implementation support usage of many calls to transfer, with single preprocess execution.
This way, one can execute batch OT by creating the OT receiver once and call the transfer function for each input couple.
In order to enable the parallel calls, each transfer call should use a different channel to send and receive messages.
This way the parallel executions of the function will not block each other.
channel- each call should get a different one.
input- The parameters given in the input must match the DlogGroup member of this class, which given in the constructor.
CheatAttemptException- if there was a cheat attempt during the execution of the protocol.
java.io.IOException- if there was a problem during a communication phase.
java.lang.ClassNotFoundException- if there was a problem during serialization mechanism.