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

Public Member Functions | |
| SPTSecretAPIClass () | |
| ~SPTSecretAPIClass () | |
| SPTSecretAPIClass (SPTSecretClass *secretinstance) | |
| string | APIgetSecret () |
| bool | APIrequestrevealSecret (string pid, vector< string > receivers, string liststatus) |
| bool | APIrequestsendHiddenSecret (string pid, string newsecret) |
| bool | APIrevealSecret (string sender, vector< string > recievers, string liststatus) |
| bool | APIsendHiddenSecret (string sender, string newsecret) |
| bool | APIverifySecret () |
| bool | rulesrevealSecret (string sender, vector< string > receivers, string liststatus, SPTSecretClass *transobj) |
| bool | rulessendHiddenSecret (string sender, string newsecret, SPTSecretClass *transobj) |
Private Attributes | |
| SPTSecretClass * | traninst |
| const bool | librarytestmode |
|
|
Default Constructor |
|
|
Default Destructor |
|
|
Overloaded Constructor
|
|
|
This method returns the actual secret that this transaction is protecting, if available.
|
|
||||||||||||||||
|
This method allows a third party player to request that the secret be revealed by the transaction master to the specified receiver list. This method is mainly used for remote debugging.
|
|
||||||||||||
|
This method allows a non-transaction master to request the transaction master send a Secret. It is mainly used for remote debugging purposes.
|
|
||||||||||||||||
|
This method sends the secretpadded value to the specified remote players.
|
|
||||||||||||
|
This method allows the Secret Transaction master to send the transform of a secret to the other participants in the transaction.
|
|
|
This method verifies the paddedsecret that was sent. It computes the transform of the paddedsecret that has been sent and compares it with the previously sent secrettransform. It returns a bool flag to indicate success or failure.
|
|
||||||||||||||||||||
|
This shell method is a pluggable function to allow the override of handing incoming requests to reveal a Secret by the transaction master. It is mainly used for remote debugging purposes.
|
|
||||||||||||||||
|
This method handles incoming requests to send Hidden Secrets
|
|
|
This should be set to FALSE for production systems or all "rulesXXXX methods should be edited Reimplemented from SecurePlayLibrary::SPAbstractTransactionAPIClass. |
|
|
Instance of SPSecretClass |