|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.SecurePlay.SPAbstractTransactionAPIClass
com.SecurePlay.SPTMultiPartSecret.SPTMultiPartSecretAPIClass
This method is an extension of the SPSecretAPI Class to handle multi-part (String Array) secrets
![]() |
![]() |
| Field Summary |
| Fields inherited from class com.SecurePlay.SPAbstractTransactionAPIClass |
transactioninstance |
| Constructor Summary | |
SPTMultiPartSecretAPIClass(SPTMultiPartSecretClass secretinstance)
Overloaded Constructor |
|
| Method Summary | |
java.lang.String[] |
APIgetSecret()
This method returns the actual secret that this transaction is protecting, if available. |
boolean |
APIrequestrevealSecret(java.lang.String pid,
java.lang.String[] receivers,
java.lang.String liststatus)
This method allows a third party player to request that the secret be revealed by the transaction master to the specified receiver list. |
boolean |
APIrequestsendHiddenSecret(java.lang.String pid,
java.lang.String[] newsecret)
This method allows a non-transaction master to request the transaction master send a Secret. |
boolean |
APIrevealSecret(java.lang.String sender,
java.lang.String[] recievers,
java.lang.String liststatus)
This method sends the secretpadded value to the specified remote players. |
boolean |
APIsendHiddenSecret(java.lang.String sender,
java.lang.String[] newsecret)
This method allows the Secret Transaction master to send the transform of a secret to the other participants in the transaction. |
boolean |
APIverifySecret()
This method verifies the paddedsecret that was sent. |
boolean |
rulesrevealSecret(java.lang.String sender,
java.lang.String[] receivers,
java.lang.String liststatus,
SPTMultiPartSecretClass transobj)
This shell method is a pluggable function to allow the override of handing incoming requests to reveal a Secret by the transaction master. |
boolean |
rulessendHiddenSecret(java.lang.String sender,
java.lang.String[] newsecret,
SPTMultiPartSecretClass transobj)
This shell method provides a pluggable function to handle sendHiddenSecret requests. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SPTMultiPartSecretAPIClass(SPTMultiPartSecretClass secretinstance)
secretinstance - SPMultiPartSecretClass - the API associated with SPMultiPartSecretClass| Method Detail |
public java.lang.String[] APIgetSecret()
public boolean APIrequestrevealSecret(java.lang.String pid,
java.lang.String[] receivers,
java.lang.String liststatus)
pid - String - the player id of the requestorreceivers - String[] - player ids of recievers of the secretliststatus - String - status of the list
public boolean APIrequestsendHiddenSecret(java.lang.String pid,
java.lang.String[] newsecret)
pid - String - player id of the requestornewsecret - String[] - the secret to be sent
public boolean APIrevealSecret(java.lang.String sender,
java.lang.String[] recievers,
java.lang.String liststatus)
sender - String - the sender of the secretrecievers - String[] - player ids of recieversliststatus - String - "P" or "L"
public boolean APIsendHiddenSecret(java.lang.String sender,
java.lang.String[] newsecret)
sender - String - the sender of the hidden secretnewsecret - String[] - the secret message
public boolean APIverifySecret()
public boolean rulesrevealSecret(java.lang.String sender,
java.lang.String[] receivers,
java.lang.String liststatus,
SPTMultiPartSecretClass transobj)
sender - String - sender of the secretreceivers - String[] - recievers of the secretliststatus - String - list statustransobj - SPMultiPartSecretClass - the transaction object
public boolean rulessendHiddenSecret(java.lang.String sender,
java.lang.String[] newsecret,
SPTMultiPartSecretClass transobj)
sender - String - sender of the secretnewsecret - String[] - the secrettransobj - SPMultiPartSecretClass - the transaction object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||