|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ecash.kernel.RevealedNote
This class is used by buyers to reveal to the bank the secret information used to build a note. Buyers will have to send such an object to the bank for every note except for the one choosen by the bank (which will be signed).
RevealedNotesList
Constructor Summary | |
RevealedNote(java.math.BigInteger amount,
java.math.BigInteger k,
java.math.BigInteger[] x)
Creates a RevealedNote. |
|
RevealedNote(FullNote fullNote)
Creates a RevealedNote object from the information found in a FullNote object. |
Method Summary | |
java.math.BigInteger |
getAmount()
Returns the amount of the note. |
java.math.BigInteger |
getK()
Returns the blinding factor. |
java.math.BigInteger[] |
getX()
Returns the RIS. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RevealedNote(java.math.BigInteger amount, java.math.BigInteger k, java.math.BigInteger[] x)
amount
- the amount of the notek
- the blinding factorx
- the RISpublic RevealedNote(FullNote fullNote)
fullNote
- the full noteMethod Detail |
public java.math.BigInteger getAmount()
public java.math.BigInteger getK()
public java.math.BigInteger[] getX()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |