|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ecash.kernel.RISPart
The revealed part of the RIS that the buyer send to the seller in order to prove the validity of the note.
Constructor Summary | |
RISPart(FullNotesList fullNotesList,
BankChoice bankChoice,
java.math.BigInteger challengeRIS)
Creates a RISPart from the information found in the FullNotesList object. |
|
RISPart(java.lang.String value)
Re-build the object from it's string representation. |
Method Summary | |
java.math.BigInteger[] |
getValues()
Returns the revealed part of the RIS. |
static RISPart |
load(java.lang.String filename)
Re-build the object from it's file representation. |
void |
save(java.lang.String filename)
Saves this object into it's file representation. |
java.lang.String |
toString()
Returns a string representation of this RISPart. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public RISPart(FullNotesList fullNotesList, BankChoice bankChoice, java.math.BigInteger challengeRIS)
fullNotesList
- the full notes listbankChoice
- the choice of the bankchallengeRIS
- the challengepublic RISPart(java.lang.String value)
value
- the string representation of the objectMethod Detail |
public java.math.BigInteger[] getValues()
public static RISPart load(java.lang.String filename)
filename
- the filenamepublic void save(java.lang.String filename)
filename
- the filenamepublic java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |