A B C D E F G H I K L N O P R S T U V W

A

add(BigInteger) - Method in class ecash.kernel.EnvelopesList
Adds the specified envelope to the list.
add(BigInteger, BigInteger[]) - Method in class ecash.kernel.UsedNotesList
Adds a new note to the list.
add(Note, BigInteger, RISPart, String) - Method in class ecash.kernel.SellerPurse
Adds a new note and the information obtained from the buyer during the transaction.
add(Note, FullNotesList, BankChoice) - Method in class ecash.kernel.BuyerPurse
Adds a new note and its building information.
addAmount(String) - Method in class ecash.internet.Report
Adds an amount to the amounts list.
addCommit() - Method in class ecash.kernel.SellerPurse
Let's take into effect all the calls made to the add() method, and then calls the clear() method.
addCommit() - Method in class ecash.kernel.BuyerPurse
Let's take into effect all the calls made to the add() method, and then calls the clear() method.

B

BANK_PORT - Static variable in class ecash.internet.ECashGen
This constant defines on which port the bank is waiting for requests.
BankChoice - class ecash.kernel.BankChoice.
Represents a number chosen by the bank, with n = [0..nbEnveloppe[.
BankChoice(int) - Constructor for class ecash.kernel.BankChoice
Chooses randomly a number which represents the choice of the bank.
BankChoice(String) - Constructor for class ecash.kernel.BankChoice
Re-build the object from it's string representation.
buy(String, String, char[], String) - Method in class ecash.internet.ECashBuyer
Creates some notes and ask the bank to sign them.
BuyerPurse - class ecash.kernel.BuyerPurse.
Contains all the notes and information used to build them.
BuyerPurse() - Constructor for class ecash.kernel.BuyerPurse
Creates a BuyerPurse.
buyerPurseChanged() - Method in interface ecash.internet.ECashBuyerListener
Called after a buy or a pay operation.
BuyerPurseUnit - class ecash.kernel.BuyerPurseUnit.
This class represents a single item of the BuyerPurse class.
BuyerPurseUnit(Note, FullNotesList, BankChoice) - Constructor for class ecash.kernel.BuyerPurseUnit
Creates a BuyerPurseUnit.
BuyReport - class ecash.internet.BuyReport.
Extension of the Report class which adds the account number.
BuyReport() - Constructor for class ecash.internet.BuyReport
Creates a report.

C

CHEAT_AMOUNTS_NOT_ALL_THE_SAME - Static variable in class ecash.internet.ECashGen
This code, used locally in reports or as function returned value, indicates that the amounts of the revealed notes are not all the same.
CHEAT_NOTE_REUSED_BY_BUYER - Static variable in class ecash.internet.ECashGen
This code, used locally in reports or as function returned value, indicates that the buyer re-used twice the same note.
CHEAT_NOTE_REUSED_BY_SELLER - Static variable in class ecash.internet.ECashGen
This code, used locally in reports or as function returned value, indicates that the seller re-used twice the same note.
CHEAT_WRONG_PASSWORD - Static variable in class ecash.internet.ECashGen
This code, used locally in reports or as function returned value, indicates that the password (or the bank account) is not correct.
CHEAT_WRONG_REVEALED_NOTES - Static variable in class ecash.internet.ECashGen
This code, used locally in reports or as function returned value, indicates that the revealed notes are not correct.
CHEAT_WRONG_RIS - Static variable in class ecash.internet.ECashGen
This code, used locally in reports or as function returned value, indicates that the RIS is not correct.
CHEAT_WRONG_SIGNATURE - Static variable in class ecash.internet.ECashGen
This code, used locally in reports or as function returned value, indicates that the signature is not correct (or that the signed part doesn't correspond to the unsigned one).
check(BigInteger, BigInteger[]) - Method in class ecash.kernel.UsedNotesList
Checks if a note has already been used, and if so, identifies the cheater.
checkIfNotesAvailable(Vector, Vector) - Method in class ecash.internet.ECashGen
Returns true if the amounts list contains all the notes found in the notes expression items list, false otherwise.
checkPassword(String, String) - Method in interface ecash.internet.ECashBankListener
Returns true if the password correspond with the account number, false otherwise.
checkRevealed(RevealedNotesList, BankChoice, String, PubKey) - Method in class ecash.kernel.EnvelopesList
Returns true if the information used to build all the envelopes except the one chosen by the bank is correct, false otherwise.
checkRIS(BigInteger, RISPart) - Method in class ecash.kernel.Note
Checks if the revealed part of the RIS is correct.
checkSignature(PubKey) - Method in class ecash.kernel.Note
Checks if the signature on the note is valid, or that the hash of the signed note corresponds to the note.
clear() - Method in class ecash.kernel.SellerPurse
Initializes the data for the add() and the remove() methods.
clear() - Method in class ecash.kernel.BuyerPurse
Initializes the data for the add() and the remove() methods.
close() - Method in class ecash.internet.ECashGen
Closes the socket.
computeNotesExp() - Method in class ecash.internet.Report
Computes and returns the notes expression for the amounts list.
computeSum() - Method in class ecash.internet.Report
Computes and returns the sum of all the amounts found in the amounts list.
CONNECTION_CLOSED_BY_SERVER - Static variable in class ecash.internet.ECashGen
This code, used locally in reports or as function returned value, indicates that the connection was closed by the server.
Const - class ecash.kernel.Const.
This class loads some parameters from a properties file, and make them available through corresponding static fields.
copy() - Method in class ecash.kernel.UsedNotesList
Creates and returns a copy of this list.
CreditDebitReport - class ecash.internet.CreditDebitReport.
Such a report is returned to a client when he buys or deposits some money at the bank.
CreditDebitReport() - Constructor for class ecash.internet.CreditDebitReport
Creates a report.

D

deposit(String, String, char[], String) - Method in class ecash.internet.ECashSeller
Deposits some notes at the bank.
DepositReport - class ecash.internet.DepositReport.
Extension of the Report class which adds the account number and also the account number of the cheater, in the case of a buyer re-using a note twice.
DepositReport() - Constructor for class ecash.internet.DepositReport
Creates a report.
DIR - Static variable in class ecash.kernel.Const
Directory used to store the file representation of some objects.

E

ecash.internet - package ecash.internet
This package contains the additional classes to run the e-cash protocol over Internet.
ecash.kernel - package ecash.kernel
This package contains the classes that implement the e-cash protocol.
ECashBank - class ecash.internet.ECashBank.
Extension of the ECashGen class which adds specific methods for a bank.
ECashBank(ECashBankListener) - Constructor for class ecash.internet.ECashBank
Creates a ECashBank and loads the constants with the Const class.
ECashBankListener - interface ecash.internet.ECashBankListener.
This interface must be implemented by every class that creates an ECashBank object.
ECashBankState - class ecash.internet.ECashBankState.
Represents the state of an ECashBank object.
ECashBankState(KeyRing, UsedNotesList) - Constructor for class ecash.internet.ECashBankState
Constructs an ECashBankState.
ECashBuyer - class ecash.internet.ECashBuyer.
Extension of the ECashGen class which adds specific methods for a buyer.
ECashBuyer(ECashBuyerListener) - Constructor for class ecash.internet.ECashBuyer
Creates an ECashBuyer and loads the constants with the Const class.
ECashBuyerListener - interface ecash.internet.ECashBuyerListener.
This interface must be implemented by every class that creates an ECashBuyer object.
ECashBuyerState - class ecash.internet.ECashBuyerState.
Represents the state of an ECashBuyer object.
ECashBuyerState(BuyerPurse, PubKey) - Constructor for class ecash.internet.ECashBuyerState
Constructs an ECashBuyerState.
ECashGen - class ecash.internet.ECashGen.
Generic class for ECashBank, ECashBuyer and ECashSeller.
ECashSeller - class ecash.internet.ECashSeller.
Extension of the ECashGen class which adds specific methods for a seller.
ECashSeller(ECashSellerListener) - Constructor for class ecash.internet.ECashSeller
Creates an ECashSeller and loads the constants with the Const class.
ECashSellerListener - interface ecash.internet.ECashSellerListener.
This interface must be implemented by every class that creates an ECashSeller object.
ECashSellerState - class ecash.internet.ECashSellerState.
Represents the state of an ECashSeller object.
ECashSellerState(SellerPurse, PubKey) - Constructor for class ecash.internet.ECashSellerState
Constructs an ECashSellerState.
EnvelopesList - class ecash.kernel.EnvelopesList.
The list of envelopes sended to the bank.
EnvelopesList() - Constructor for class ecash.kernel.EnvelopesList
Constructs a new list.
EnvelopesList(String) - Constructor for class ecash.kernel.EnvelopesList
Re-build the object from it's string representation.

F

findAmount(String) - Method in class ecash.kernel.SellerPurse
Returns the first index of a note with the specified amount.
findAmount(String) - Method in class ecash.kernel.BuyerPurse
Returns the first index of a note with the specified amount.
FullNote - class ecash.kernel.FullNote.
This class represents a single note with all it's related information: envelope, blinding factor, RIS, ...
FullNote(BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger[], BigInteger[]) - Constructor for class ecash.kernel.FullNote
Creates a FullNote.
FullNotesList - class ecash.kernel.FullNotesList.
This class constructs a list of full notes.
FullNotesList(int, String, String, PubKey) - Constructor for class ecash.kernel.FullNotesList
Constructs a list of full notes.

G

genKey() - Method in class ecash.internet.ECashBank
Creates a new pair of keys.
get(int) - Method in class ecash.kernel.RevealedNotesList
Gets the revealed note designed by the specific index.
get(int) - Method in class ecash.kernel.FullNotesList
Returns the specified full note.
get(int) - Method in class ecash.kernel.EnvelopesList
Returns the specified envelope.
getAccountNumber() - Method in class ecash.internet.DepositReport
Returns the account number.
getAccountNumber() - Method in class ecash.internet.BuyReport
Returns the account number.
getAmount() - Method in class ecash.kernel.RevealedNotesList
Returns the amount of the notes if they are all the same, "-1" otherwise.
getAmount() - Method in class ecash.kernel.RevealedNote
Returns the amount of the note.
getAmount() - Method in class ecash.kernel.Note
Returns the amount of the note.
getAmount() - Method in class ecash.kernel.FullNote
Returns amount, the amount of the note.
getAmount(String) - Method in interface ecash.internet.ECashBankListener
Returns the available amount in the specified bank account.
getAmountList() - Method in class ecash.kernel.SellerPurse
Returns the list of the amounts of the notes.
getAmountList() - Method in class ecash.kernel.BuyerPurse
Returns the amounts list of the notes.
getAmountList() - Method in class ecash.internet.ECashSeller
Returns the list of all the amounts of the different notes.
getAmountList() - Method in class ecash.internet.ECashBuyer
Returns the list of all the amounts of the different notes.
getAmounts() - Method in class ecash.internet.Report
Returns a string that represents a list of all the amounts, separated by a coma.
getBankChoice() - Method in class ecash.kernel.BuyerPurseUnit
Returns the BankChoice.
getBankChoice(int) - Method in class ecash.kernel.BuyerPurse
Gets the BankChoice of the specified note.
getBigM() - Method in class ecash.kernel.UsedNote
Returns the note.
getBigM() - Method in class ecash.kernel.Note
Returns the bank note.
getBigM() - Method in class ecash.kernel.FullNote
Returns bigM, the note.
getBuyerNickname() - Method in class ecash.kernel.SellerPurseUnit
Returns the nickname of the buyer.
getBuyerNickname() - Method in class ecash.internet.PayReport
Returns the nickname of the buyer.
getBuyerNickname(int) - Method in class ecash.kernel.SellerPurse
Gets the nickname of the buyer that sent the specified note.
getBuyerPurse() - Method in class ecash.internet.ECashBuyerState
Returns the buyer purse.
getChallengeRIS() - Method in class ecash.kernel.SellerPurseUnit
Returns the challenge.
getChallengeRIS(int) - Method in class ecash.kernel.SellerPurse
Gets the challenge imposed to the specified note.
getCheaterAccountNumber() - Method in class ecash.internet.DepositReport
Returns the account number of the cheater (buyer who used a note twice).
getCurrentAmount() - Method in class ecash.internet.CreditDebitReport
Returns the current amount of money available in the bank account.
getD() - Method in class ecash.kernel.KeyRing
Returns the private exponent.
getE() - Method in class ecash.kernel.PubKey
Returns the public exponent of the key.
getE() - Method in class ecash.kernel.KeyRing
Returns the public exponent.
getEnvelope() - Method in class ecash.kernel.FullNote
Returns envelope, the envelope used to hide the note during the blind signature process
getEnvelopesList() - Method in class ecash.kernel.FullNotesList
Creates an envelope list from the information found in the FullNote objects, and returns it.
getFullNotesList() - Method in class ecash.kernel.BuyerPurseUnit
Returns the FullNotesList.
getFullNotesList(int) - Method in class ecash.kernel.BuyerPurse
Gets the FullNotesList of the specified note.
getK() - Method in class ecash.kernel.RevealedNote
Returns the blinding factor.
getK() - Method in class ecash.kernel.FullNote
Returns k, the blinding factor.
getKey() - Method in class ecash.internet.ECashGen
Returns the public key of the bank.
getKey(String) - Method in class ecash.internet.ECashGen
Connects to the bank and asks its public key.
getKeyRing() - Method in class ecash.internet.ECashBankState
Gets the key ring.
getM() - Method in class ecash.kernel.FullNote
Returns m, the signed hash of the note.
getN() - Method in class ecash.kernel.PubKey
Returns the modulus of the key.
getN() - Method in class ecash.kernel.KeyRing
Returns the modulus.
getNote() - Method in class ecash.kernel.SellerPurseUnit
Returns the note.
getNote() - Method in class ecash.kernel.BuyerPurseUnit
Returns the note.
getNote(int) - Method in class ecash.kernel.SellerPurse
Gets the specified note.
getNote(int) - Method in class ecash.kernel.BuyerPurse
Gets the specified note.
getPubKey() - Method in class ecash.internet.ECashSellerState
Returns the public key of the bank.
getPubKey() - Method in class ecash.internet.ECashBuyerState
Returns the public key of the bank.
getPublic() - Method in class ecash.kernel.KeyRing
Creates and returns the public key.
getREGEXP() - Method in class ecash.internet.ECashGen
Returns the regular expression that is used to define the syntax of the notes expression.
getResult() - Method in class ecash.internet.Report
Returns an int that represents how the operation succeeded.
getResult() - Method in class ecash.internet.CreditDebitReport
Returns an int that represents how the operation succeeded.
getRISPart() - Method in class ecash.kernel.SellerPurseUnit
Returns the revealed part of the RIS.
getRISPart(int) - Method in class ecash.kernel.SellerPurse
Gets the revealed part of the RIS for the specified note.
getSellerPurse() - Method in class ecash.internet.ECashSellerState
Returns the seller purse.
getSignedNote() - Method in class ecash.kernel.Note
Returns the signed hash of the note.
getState() - Method in class ecash.internet.ECashSeller
Returns an ECashSellerState object.
getState() - Method in class ecash.internet.ECashBuyer
Returns an ECashBuyerState object.
getState() - Method in class ecash.internet.ECashBank
Returns an ECashBankState object.
getUsedNotesList() - Method in class ecash.internet.ECashBankState
Gets the object containing all the former desposited notes.
getValues() - Method in class ecash.kernel.RISPart
Returns the revealed part of the RIS.
getValues() - Method in class ecash.kernel.FullNotesList
Returns the vector containing all the FullNote objects.
getX() - Method in class ecash.kernel.UsedNote
Returns the revealed part of the RIS.
getX() - Method in class ecash.kernel.RevealedNote
Returns the RIS.
getX() - Method in class ecash.kernel.FullNote
Returns x, the RIS.
getY() - Method in class ecash.kernel.FullNote
Returns y, the hash of the RIS.

H

handshakeClient(String, int) - Method in class ecash.internet.ECashGen
Connects to a server and constructs a secure crypted channel to it.
handshakeServer(int) - Method in class ecash.internet.ECashGen
Connects to a client and constructs a secure crypted channel to it.
hasBankKey() - Method in class ecash.internet.ECashGen
Returns true if the public key is available, false otherwise.
HASH_LENGTH - Static variable in class ecash.kernel.Tools
Defines the length in bits of the result of the hash function.

I

initFindAmount() - Method in class ecash.kernel.SellerPurse
Initializes the findAmount() method.
initFindAmount() - Method in class ecash.kernel.BuyerPurse
Initializes the findAmount() method.

K

KEY_NOT_AVAILABLE - Static variable in class ecash.internet.ECashGen
This code, used locally in reports or as function returned value, indicates that the public key is not available.
KEY_SIZE - Static variable in class ecash.kernel.Const
The size of the key (modulus) used by the bank to sign notes.
KeyRing - class ecash.kernel.KeyRing.
This class represents a key ring, i.e. a public key and a private key.
KeyRing() - Constructor for class ecash.kernel.KeyRing
Creates a new key ring using the RSA algorithm.
KeyRing(String) - Constructor for class ecash.kernel.KeyRing
Re-build the object from it's string representation.

L

load(String) - Static method in class ecash.kernel.UsedNotesList
Re-build the object from it's file representation.
load(String) - Static method in class ecash.kernel.RISPart
Re-build the object from it's file representation.
load(String) - Static method in class ecash.kernel.RevealedNotesList
Re-build the object from it's file representation.
load(String) - Static method in class ecash.kernel.PubKey
Re-build the object from it's file representation.
load(String) - Static method in class ecash.kernel.Note
Re-build the object from it's file representation.
load(String) - Static method in class ecash.kernel.EnvelopesList
Re-build the object from it's file representation.
load(String) - Static method in class ecash.kernel.Const
Loads the values from the specified filename.
load(String) - Static method in class ecash.kernel.BankChoice
Re-build the object from it's file representation.

N

NB_ENVELOPE - Static variable in class ecash.kernel.Const
The number of envelopes that are sent to the bank for each note.
NB_RIS - Static variable in class ecash.kernel.Const
The number of RIS pairs.
Note - class ecash.kernel.Note.
Contains a bank note and its corresponding signed hash.
Note(BigInteger, BigInteger) - Constructor for class ecash.kernel.Note
Constructs a Note object from a bank note, called bigM, and its corresponding signed hash, called signedNote.
Note(String) - Constructor for class ecash.kernel.Note
Re-build the object from it's string representation.
NOTES_EXP_SYNTAX_ERROR - Static variable in class ecash.internet.ECashGen
This code, used locally in reports or as function returned value, indicates that the notes expression carries one or several syntax errors.
NOTES_NOT_AVAILABLE - Static variable in class ecash.internet.ECashGen
This code, used locally in reports or as function returned value, indicates that the requested notes (for example during a paying operation) are not availables.
notesExpToValues(String) - Static method in class ecash.kernel.Tools
Splits a notes expression into a vector of values.

O

OK - Static variable in class ecash.internet.ECashGen
This code, used locally in reports or as function returned value, indicates that the operation (buy, deposit, ...) was correct and no cheating has been detected (like re-using a note twice, wrong signature, ...).
OP_BUY - Static variable in class ecash.internet.ECashGen
This code, transmitted through the network, informs the partner of the current operation: The sender wants to buy some notes.
OP_DEPOSIT - Static variable in class ecash.internet.ECashGen
This code, transmitted through the network, informs the partner of the current operation: The sender wants to deposit some notes at the bank.
OP_GET_KEY - Static variable in class ecash.internet.ECashGen
This code, transmitted through the network, informs the partner of the current operation: The sender wants the public key of the bank.
OP_PAY - Static variable in class ecash.internet.ECashGen
This code, transmitted through the network, informs the partner of the current operation: The sender wants to give some notes to the seller.

P

pay(String, String, String) - Method in class ecash.internet.ECashBuyer
Sends some notes to a seller.
PayReport - class ecash.internet.PayReport.
Extension of the Report class which adds the nickname of the buyer, in order to allow the seller to identify the origin of the payment.
PayReport() - Constructor for class ecash.internet.PayReport
Creates a report.
PubKey - class ecash.kernel.PubKey.
Public key of the bank, used to sign the bank notes.
PubKey(BigInteger, BigInteger) - Constructor for class ecash.kernel.PubKey
Creates a public key from the public exponent and the modulus.
PubKey(String) - Constructor for class ecash.kernel.PubKey
Re-build the object from it's string representation.

R

readFile(String) - Static method in class ecash.kernel.Tools
Returns the content of a file as a String.
readObject(String) - Static method in class ecash.kernel.Tools
Reads an object from the specified file.
receiveCrypted() - Method in class ecash.internet.ECashGen
Receives a message from a secured crypted channel.
REGEXP - Static variable in class ecash.kernel.Const
The regular expression that defines a notes expression.
remove(int) - Method in class ecash.kernel.SellerPurse
Removes a note.
remove(int) - Method in class ecash.kernel.BuyerPurse
Removes a note.
removeCommit() - Method in class ecash.kernel.SellerPurse
Let's take into effect all the calls made to the remove() method, and then calls the clear() method.
removeCommit() - Method in class ecash.kernel.BuyerPurse
Let's take into effect all the calls made to the remove() method, and then calls the clear() method.
Report - class ecash.internet.Report.
A Report indicates how an operation succeeded, from the server point of view.
report(BuyReport) - Method in interface ecash.internet.ECashBankListener
Called after a client bought some money from his bank account.
report(DepositReport) - Method in interface ecash.internet.ECashBankListener
Called after a client deposited some money on his bank account.
report(PayReport) - Method in interface ecash.internet.ECashSellerListener
Called after a client has given some notes.
RevealedNote - class ecash.kernel.RevealedNote.
This class is used by buyers to reveal to the bank the secret information used to build a note.
RevealedNote(BigInteger, BigInteger, BigInteger[]) - Constructor for class ecash.kernel.RevealedNote
Creates a RevealedNote.
RevealedNote(FullNote) - Constructor for class ecash.kernel.RevealedNote
Creates a RevealedNote object from the information found in a FullNote object.
RevealedNotesList - class ecash.kernel.RevealedNotesList.
This class, which represents a list of RevealedNote objects, is used by buyers to reveal at the bank the secret information used to build all the notes.
RevealedNotesList(FullNotesList, BankChoice) - Constructor for class ecash.kernel.RevealedNotesList
Creates a revealed notes list from the information found in a FullNotesList object.
RevealedNotesList(String) - Constructor for class ecash.kernel.RevealedNotesList
Re-build the object from it's string representation.
RISPart - class 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.
RISPart(FullNotesList, BankChoice, BigInteger) - Constructor for class ecash.kernel.RISPart
Creates a RISPart from the information found in the FullNotesList object.
RISPart(String) - Constructor for class ecash.kernel.RISPart
Re-build the object from it's string representation.
round(double) - Static method in class ecash.kernel.Tools
This method rounds a double by keeping only 2 decimals (centimes).
round(String) - Static method in class ecash.kernel.Tools
This method rounds a double by keeping only 2 decimals (centimes).
run() - Method in class ecash.internet.ECashSeller
 
run() - Method in class ecash.internet.ECashBank
 

S

save(String) - Method in class ecash.kernel.UsedNotesList
Saves this object into it's file representation.
save(String) - Method in class ecash.kernel.RISPart
Saves this object into it's file representation.
save(String) - Method in class ecash.kernel.RevealedNotesList
Saves this object into it's file representation.
save(String) - Method in class ecash.kernel.PubKey
Saves this object into it's file representation.
save(String) - Method in class ecash.kernel.Note
Saves this object into it's file representation.
save(String) - Method in class ecash.kernel.EnvelopesList
Saves this object into it's file representation.
save(String) - Method in class ecash.kernel.BankChoice
Saves this object into it's file representation.
SELLER_PORT - Static variable in class ecash.internet.ECashGen
This constant defines on which port the seller is waiting for requests.
SellerPurse - class ecash.kernel.SellerPurse.
Contains all the notes and information obtained from buyers during transactions.
SellerPurse() - Constructor for class ecash.kernel.SellerPurse
Creates a SellerPurse.
sellerPurseChanged() - Method in interface ecash.internet.ECashSellerListener
Called after a pay or a deposit operation.
SellerPurseUnit - class ecash.kernel.SellerPurseUnit.
This class represents a single item of the SellerPurse class.
SellerPurseUnit(Note, BigInteger, RISPart, String) - Constructor for class ecash.kernel.SellerPurseUnit
Creates a SellerPurseUnit.
sendCrypted(char[]) - Method in class ecash.internet.ECashGen
Sends a array of char, likely a password, over a secured crypted channel.
sendCrypted(String) - Method in class ecash.internet.ECashGen
Sends a message over a secured crypted channel.
SERVER_NOT_READY - Static variable in class ecash.internet.ECashGen
This code, used locally in reports or as function returned value, indicates that the server (bank or seller) is not ready yet.
setAccountNumber(String) - Method in class ecash.internet.DepositReport
Sets the account number.
setAccountNumber(String) - Method in class ecash.internet.BuyReport
Sets the account number.
setBuyerNickname(String) - Method in class ecash.internet.PayReport
Sets the nickname of the buyer.
setCheaterAccountNumber(String) - Method in class ecash.internet.DepositReport
Sets the account number of the cheater, if any.
setCurrentAmount(String) - Method in class ecash.internet.CreditDebitReport
Sets the current amount available on the bank account.
setKey(PubKey) - Method in class ecash.internet.ECashGen
Sets the public key.
setResult(int) - Method in class ecash.internet.Report
Set the result that describes how the operation succeeded.
setResult(int) - Method in class ecash.internet.CreditDebitReport
Set the result that describes how the operation succeeded.
setState(ECashBankState) - Method in class ecash.internet.ECashBank
Initializes the class with the specified state.
setState(ECashBuyerState) - Method in class ecash.internet.ECashBuyer
Initializes the class with the specified state.
setState(ECashSellerState) - Method in class ecash.internet.ECashSeller
Initializes the class with the specified state.
sha(BigInteger) - Static method in class ecash.kernel.Tools
Computes a hash of the message, using the SHA function.
signEnvelope(BigInteger, KeyRing) - Static method in class ecash.kernel.Tools
Signs an envelope using the private key of the bank.
size() - Method in class ecash.kernel.SellerPurse
Returns the number of notes.
size() - Method in class ecash.kernel.RevealedNotesList
Returns the number of notes.
size() - Method in class ecash.kernel.BuyerPurse
Returns the number of notes.
startServer() - Method in class ecash.internet.ECashSeller
Starts the server of the seller, in order to be ready to answer buyers requests.
startServer() - Method in class ecash.internet.ECashBank
Starts the server of the bank, in order to be ready to answer clients requests.
stopServer() - Method in class ecash.internet.ECashGen
Stops the server.

T

toInt() - Method in class ecash.kernel.BankChoice
Returns an int representation of this BankChoice.
Tools - class ecash.kernel.Tools.
This class provides some tools.
toString() - Method in class ecash.kernel.UsedNotesList
Returns a string representation of this UsedNotesList.
toString() - Method in class ecash.kernel.RISPart
Returns a string representation of this RISPart.
toString() - Method in class ecash.kernel.RevealedNotesList
Returns a string representation of this RevealedNotesList.
toString() - Method in class ecash.kernel.PubKey
Returns a string representation of this PubKey.
toString() - Method in class ecash.kernel.Note
Returns a string representation of this Note.
toString() - Method in class ecash.kernel.KeyRing
Returns a string representation of this KeyRing.
toString() - Method in class ecash.kernel.EnvelopesList
Returns a string representation of this EnvelopesList.
toString() - Method in class ecash.kernel.BankChoice
Returns a string representation of this BankChoice.
TRANS_OK - Static variable in class ecash.internet.ECashGen
This code, transmitted through the network, informs the partner that the last set of transactions was successful.

U

unblind(BigInteger, FullNotesList, BankChoice, PubKey) - Static method in class ecash.kernel.Tools
Unblinds a signed envelope in order to get the signed note.
UsedNote - class ecash.kernel.UsedNote.
This class represents a single item of the UsedNotesList class.
UsedNote(BigInteger, BigInteger[]) - Constructor for class ecash.kernel.UsedNote
Creates a UsedNote.
UsedNotesList - class ecash.kernel.UsedNotesList.
A list of all the notes already returned to the bank.
UsedNotesList() - Constructor for class ecash.kernel.UsedNotesList
Creates a new list of used notes.
UsedNotesList(String) - Constructor for class ecash.kernel.UsedNotesList
Re-build the object from it's string representation.
UsedNotesList(Vector) - Constructor for class ecash.kernel.UsedNotesList
Creates a new list using the specified values.

V

valuesToNotesExp(Vector) - Static method in class ecash.kernel.Tools
Transforms a vector of values (amounts) into a notes expression.

W

writeFile(String, String) - Static method in class ecash.kernel.Tools
Writes a String in a file.
writeObject(String, Object) - Static method in class ecash.kernel.Tools
Writes the specified object into the specified file.

A B C D E F G H I K L N O P R S T U V W