#include <SPTStrobeClass.h>
Inheritance diagram for SecurePlayLibrary::SPTStrobeClass:

Public Member Functions | |
| SPTStrobeClass () | |
| ~SPTStrobeClass () | |
| SPTStrobeClass (SPGameInterface *gameobj, string master, vector< string > playerIDList, bool virtualflag, string transactionID) | |
| void | pruniqueinit () |
| bool | APIsendHiddenSecret (string sender, vector< string > newsecret) |
| bool | APIverifyStrobeStep () |
| vector< string > | APIgetSecret (string sender) |
| bool | onsendHiddenSecret (SPMessageClass *incoming) |
| bool | prsendinternalSecrets () |
| bool | onrevealSecret (SPMessageClass *incoming) |
| bool | pronincomingTransaction (SPMessageClass *incoming) |
| bool | APIrequestsendHiddenSecret (string pid, string sender, vector< string > newsecret) |
| void | onrequestsendHiddenSecret (SPMessageClass *incoming) |
| SPTStrobeAPIClass * | SPgetAPI () |
| bool | isAactive () |
| int | getPrpadlength () |
| map< string, vector< string > * > | getSecretA () |
| map< string, vector< string > * > | getSecretB () |
| map< string, string * > | getSecrettransformA () |
| map< string, string * > | getSecrettransformB () |
| SPTStrobeAPIClass * | APITAOcreateTransaction (SPGameAPIClass *gapi, string transmaster, vector< string > playerIDList, bool privateflag) |
| SPAbstractTransactionInterface * | createTransaction (SPGameAPIInterface *gameapiobj, string master, vector< string > playerIDList, bool privateflag, string transactionID) |
Static Public Member Functions | |
| SPTStrobeClass * | APIcreateTransaction (SPGameAPIClass *gapi, string transmaster, vector< string > playerIDList, bool privateflag) |
| bool | APIBcreateTransaction (SPGameAPIClass *gapi, string transmaster, vector< string > playerIDList, bool privateflag) |
| string | gettranstype () |
| bool | registerTransaction () |
Protected Member Functions | |
| SPAbstractTransactionInterface * | buildSPawn () |
| bool | spawnConfigure (SPAbstractTransactionInterface *a) |
Private Member Functions | |
| void | prcheckallsent () |
| virtual bool | BActive () |
| virtual bool | AActive () |
| virtual void | SwitchActive () |
| virtual void | FlushActive () |
Private Attributes | |
| int | prpadlength |
| map< string, vector< string > * > | secretA |
| map< string, string * > | secrettransformA |
| map< string, vector< string > * > | secretB |
| map< string, string * > | secrettransformB |
| bool | Aactive |
|
|
Default Constructor |
|
|
Default Destructor |
|
||||||||||||||||||||||||
|
Overloaded Constructor
|
|
|
This method returns whether the “A” bank is active – bool TRUE - or the “B” bank is active – bool FALSE.
|
|
||||||||||||||||||||
|
This method allows the creation of a new MultiPartSimultaneous type, internally controlled transaction. It also sends a message to the other transaction and game participants about this new transaction.
|
|
||||||||||||||||||||
|
This method allows the creation of a new MultiPartSimultaneous type, internally controlled transaction. It also sends a message to the other transaction and game participants about this new transaction.
|
|
|
This method returns the actual secret for the specified player that this STROBE step is protecting, if available.
|
|
||||||||||||||||
|
This method allows any party to request the specified transaction participant send a Secret to support the simultaneous transaction. It is mainly used for remote debugging purposes.
|
|
||||||||||||
|
This method allows the specified transaction participant to send the transform of a secret to the other participants in the Simultaneous transaction.
|
|
||||||||||||||||||||
|
This method allows the creation of a new MultiPartSimultaneous type, internally controlled transaction. It also sends a message to the other transaction and game participants about this new transaction.
|
|
|
This method verifies whether the just completed STROBE step is valid.
|
|
|
This method returns whether the “B” bank is active – bool TRUE - or the “A” bank is active – bool FALSE.
|
|
|
This method provides the unique transaction creation services for spawned Strobe transactions Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass. |
|
||||||||||||||||||||||||
|
This method creates a SPMultiPartSimultaneousClass transaction.
Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
This method resets the transaction that is being read so it can be written by emptying it of info and resetting it. |
|
|
Getter function that returns the property: prpadlength
|
|
|
Getter function that returns the property: secretA
|
|
|
Getter function that returns the property: secretB
|
|
|
Getter function that returns the property: secrettransformA
|
|
|
Getter function that returns the property: secrettransformB
|
|
|
This method gets the transaction type.
Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
Getter function that returns the property: Aactive
|
|
|
Handles incoming requests to create a sendHiddenSecret message by specified recipient
|
|
|
This method handles the incoming message to reveal a secret. The message can come from any participant in the transaction and should include the secretpadded as its sole content. Once all of the secrettransforms have been received, this method will trigger the sending of all local secrets via the prsendInternalSecrets method.
|
|
|
This method handles incoming sendHiddenSecret messages. These messages include the secrettransform and can sent by any transaction participant.
|
|
|
This method checks to see if all hidden secrets have been sent. Once it does, it triggers the revealing of local secrets |
|
|
This method provides the unique handlers for incoming Strobe turn message types
Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
This method safely sends all of the internal Secrets from participants in the Simultaneous transaction to remote players. It is automatically triggered by the onsendHiddenSecret method/event once all incoming secret transforms have been received.
|
|
|
Uniques initialization Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
Registers this transaction.
|
|
|
This method provides the unique transaction configuration services for spawned Strobe transactions Reimplemented from SecurePlayLibrary::SPAbstractTransactionClass. |
|
|
Gets this class's API
|
|
|
This method switches whether the A bank is active or the B bank is active |
|
|
This property indicates which set of simultaneous events can be written (Aactive – bool TRUE for the A bank) or read (Aactive – bool TRUE for the B bank) |
|
|
This is a virtual,constant property. It is used to specify the length of the random padding to a transmitted secret. The random padding is necessary to prevent dictionary attacks against secrets. The default setting is 20. Please set appropriately to meet the specific client needs. |
|
|
This an associative array of simultaneous secrets string Arrays that are being protected through the Simultaneous transaction. |
|
|
This property holds the alternate set of Simultaneous secrets |
|
|
This property is the associative array of irreversible transforms of the secretpadded strings. The secrettransform is sent first to make the secret unmodifiable. |
|
|
This property holds the alternate set of Simultaneous secret transformss |