Serialized Form
blurb
java.lang.String blurb
gif
java.lang.String gif
icon
javax.swing.ImageIcon icon
name
java.lang.String name
assObject
java.lang.Object assObject
type
int type
cHeaders
java.lang.String[] cHeaders
cs
ChangeContractStore cs
cTypes
java.lang.Class[] cTypes
wallets
WalletInterface[] wallets
contract
Contract contract
info
AccountInfo info
itemId
ItemId itemId
mode
int mode
popup
javax.swing.JPopupMenu popup
table
javax.swing.JTable table
tablemodel
ReceiptTableModel tablemodel
toolbar
javax.swing.JToolBar toolbar
wi
WalletInterface wi
contracts
ChangeContractStore contracts
data
java.util.Vector data
df
java.text.DateFormat df
headers
java.lang.String[] headers
showCancels
boolean showCancels
- If set to true, show the cancel payments
types
java.lang.Class[] types
|
Package webfunds.client.contracts |
buttonCancel
javax.swing.JButton buttonCancel
buttonOK
javax.swing.JButton buttonOK
contractText
javax.swing.JTextArea contractText
- Contains the text of the currently selected contract.
contractTextScroller
javax.swing.JScrollPane contractTextScroller
list
javax.swing.JList list
- List of contracts. Should be replaced with a grid of some sort.
result
Contract result
store
ContractStore store
- Underlying contract store.
|
Package webfunds.client.contracts.wizard |
data
WizardData data
editor
javax.swing.JEditorPane editor
data
WizardData data
oldFile
java.lang.String oldFile
txtFile
javax.swing.JTextField txtFile
data
WizardData data
data
WizardData data
txtFile
javax.swing.JTextField txtFile
txtFileUnsigned
javax.swing.JTextField txtFileUnsigned
txtPass
javax.swing.JTextField txtPass
data
WizardData data
oldFile
java.lang.String oldFile
txtFile
javax.swing.JTextField txtFile
txtFile2
javax.swing.JTextField txtFile2
data
WizardData data
oldFile
java.lang.String oldFile
txtFile
javax.swing.JTextField txtFile
data
WizardData data
oldFile
java.lang.String oldFile
txtFile
javax.swing.JTextField txtFile
contractEdit
WizardPanel contractEdit
contractFile
WizardPanel contractFile
data
WizardData data
finishEnd
WizardPanel finishEnd
finishSig
WizardPanel finishSig
iconNot
javax.swing.ImageIcon iconNot
iconYes
javax.swing.ImageIcon iconYes
keyContract
WizardPanel keyContract
keyServer
WizardPanel keyServer
keyTop
WizardPanel keyTop
tree
javax.swing.JTree tree
usedNext
boolean usedNext
window
javax.swing.JFrame window
wizardActive
int wizardActive
wizardPanels
WizardPanel[] wizardPanels
wizardPrevAct
int wizardPrevAct
|
Package webfunds.client.plugins |
|
Package webfunds.client.sox |
amount
long amount
date
java.util.Date date
desc
byte[] desc
item
ItemId item
source
AccountInfo source
status
int status
target
AccountInfo target
transid
java.lang.String transid
pendingReceipt
PendingReceipt pendingReceipt
pid
java.lang.String pid
receipt
Receipt receipt
state
int state
number
int number
|
Package webfunds.client.sun |
selectionWrapper
webfunds.client.sun.JTreeTable.ListToTreeSelectionModelWrapper selectionWrapper
tree
JTreeTable.TreeTableCellRenderer tree
- A subclass of JTree.
this$0
JTreeTable this$0
visibleRow
int visibleRow
- Last table/tree row asked to renderer.
tree
javax.swing.JTree tree
treeTableModel
TreeTableModel treeTableModel
|
Package webfunds.client.util |
isFixed
boolean isFixed
myListener
webfunds.client.util.BinaryButtons.RadioListener myListener
one
boolean one
oneButton
javax.swing.JRadioButton oneButton
oneDefault
boolean oneDefault
oneLabel
java.lang.String oneLabel
oneLetter
int oneLetter
two
boolean two
twoButton
javax.swing.JRadioButton twoButton
twoDefault
boolean twoDefault
twoLabel
java.lang.String twoLabel
twoLetter
int twoLetter
buttonCancel
javax.swing.JButton buttonCancel
buttonOK
javax.swing.JButton buttonOK
callerName
java.lang.String callerName
choice
BinaryButtons choice
result
java.lang.String result
userDir
java.io.File userDir
errno
int errno
|
Package webfunds.openpgp.provider |
|
Package webfunds.ricardian |
errno
int errno
- What error number has been set by the thrower.
errno
int errno
- What error number has been set by the thrower.
line
int line
- The line number where the error occurred, counting from 0 to n-1,
if available (-1 is not set).
bug
java.io.PrintWriter bug
fileData
byte[] fileData
fix
java.lang.String fix
originalName
java.lang.String originalName
serverFile
IniFileReader serverFile
smart
SmartIssuer smart
errno
int errno
- What error number has been set by the thrower.
desc
byte[] desc
- A description (can be anything, although very long lengths
may be refused by some issuers and clients, but at least 2K
is guaranteed to be supported by all SOX compatible software)
Note that it can be non-ascii, and non readable. That's up to
the client software to deal with.
Null is not actually supported, it will be promoted to an empty
byte array.
item
ItemId item
- The type of item (or "currency") of this payment.
E.g. "airmiles", "chips", ...
In pure SOX protocol form, this can be any byte array
as encoded in ItemId. In extant implementations, this
will be the message digest of the Ricardian Contract.
In a SOX / practical context this turns out to be more or
less mandatory, so included here?
paymentId
java.lang.String paymentId
- The identifer for this payment. This is used locally for
storage and uniqueness, and may be used by the extending
payment for idempotency, or stripped off as desired.
qty
long qty
- The quantity of the item represented by this payment.
subversion
int subversion
- The sub version of the subclass.
type
int type
- The type of payment of this class.
See PaymentFactory for types.
version
int version
appl
java.lang.String appl
- The Application string - can be set by a super application.
Should not be touched by SOX, just transported. A cheap
way of avoiding extend.
finder
IssuerFinder finder
- Subaccounts need some way to find an Issuer for an Item.
The Issuer doesn't do anything until asked.
flags
long flags
- The Application flags - can be set by a super application.
SOX: 1-16
Trader: 17-24
id
AccountId id
- The account id (which must match the public key fingerprint)
key
java.security.PrivateKey key
- The private key that authorises account transactions.
name
java.lang.String name
- The account name, can be assigned locally.
Note the fingerprint of the public key, stored in id, is also a name.
pubKey
java.security.PublicKey pubKey
- The public key that verifies account transactions.
req_version
int req_version
subs
java.util.Hashtable subs
- Each subaccount is one-to-one with an item.
An account can have many subaccounts.
errors
java.lang.String errors
pay
AbstractPayment pay
encoded
byte[] encoded
- The body in encoded form
errmsg
java.lang.String errmsg
status
int status
- The status value
body
BasicRequest body
- The request body
type
java.lang.String type
- The request type - this defines what the request is
cert
java.security.cert.Certificate cert
- The certificate contained in the reply
mails
MailItem[] mails
receipt_data
byte[] receipt_data
depositDesc
byte[] depositDesc
- A description (can be anything, although very long lengths
may be refused by some issuers and clients) of what the
payment is for. This field is provided by the payee when
the payment is deposited. One interesting use of this
field is for providing the payee with a key that "unlocks"
a protected software package.
depositId
java.lang.String depositId
- An identifier for this deposit request
Note: although a java String is used, this identifier
should only contain 8-bit ascii characters, following
the same rules as that of the payment id (pid).
payBuf
byte[] payBuf
payment
AbstractPayment payment
- The payment to be deposited
(as originally created by the payer)
(was Payment).
proto
AbstractPayment proto
- The payment to be withdrawn, paid for with above payment
(as originally created by the payer, added at DEPOSIT_WITHDRAW-bis).
protoBuf
byte[] protoBuf
protocolState
int protocolState
- The state of the protocol that the caller wants to
(re)start this request processing in.
The contents are undefined here, it depends on the
protocol implied by the type of Payment requested.
This might be redundant (use Payment instead), or
too simplistic (as Payment is signed, it can't be
changed ...). We'll see.
Added for version DEPOSIT_WITHDRAW.
typeOfPayment
int typeOfPayment
- The type of payment that the caller wants to withdraw,
where the type is a number from PaymentFactory.
Defaults to PaymentFactory.NONE, meaning that this is
a straight Deposit request.
Added for version DEPOSIT_WITHDRAW.
version
int version
data
byte[] data
- The (encrypted) payload
flags
byte[] flags
- Flags (for future use)
sessionKey
byte[] sessionKey
- A key for future use
data
byte[] data
- The (encrypted) payload
encType
int encType
- The type of encryption used
inner
byte[] inner
- The inner packet within the encrypted payload,
to be made into a request.
key
java.security.Key key
- The key used for encrypting and decrypting the payload.
plaintext
byte[] plaintext
- The (decrypted) payload
req
Request req
type
java.lang.String type
version
int version
id
byte[] id
- The item identifier.
openPGPId
int openPGPId
buf
byte[] buf
- The mail packet as it is passed over the net, and signed for.
This might be a MailItem, or it might be a Receipt, or it
might even be a Receipt within a MailItem :(
msg
byte[] msg
- The mail item consists of a version, a type and a message.
type
int type
version
int version
mails
MailItem[] mails
next
int next
mails
MailId[] mails
version
int version
applicationErrors
java.lang.String applicationErrors
applicationStatus
int applicationStatus
flags
long flags
names
java.lang.String[] names
flags
long flags
names
java.lang.String[] names
version
int version
changekey
boolean changekey
- this boolean indicated wether the account has to rollover to a new key.
sig
byte[] sig
- The signature of the other payment fields
(made by the owner of the source account)
source
AccountId source
- The account from which the payment is drawn
target
AccountId target
- The account to which the payment is made out.
validFrom
long validFrom
- The date from which the payment is valid
validTill
long validTill
- The date to which the payment is valid
sig
byte[] sig
- The signature on the token (generally made by the mint).
How it is made and verified is coded within the crypto-system
as found in sign().
token
byte[] token
- The token payload (generally made by the client).
How it is made and verified is coded within the crypto-scheme
as found in prototype().
debug
java.io.PrintWriter debug
depositRequest
DepositRequest depositRequest
depositRequestData
byte[] depositRequestData
did
java.lang.String did
exPayment
AbstractPayment exPayment
- The Exchange Payment is what is returned in case of a Withdrawal.
When in the receipt, it is a signed version of the Proto Payment
in the DepositRequest.
exPaymentData
byte[] exPaymentData
flags
long flags
- Some flags to indicate special conditions.
item
ItemId item
pid
java.lang.String pid
qty
long qty
sig
byte[] sig
src
AccountId src
tgt
AccountId tgt
timestamp
long timestamp
version
int version
xid
java.lang.String xid
accId
AccountId accId
- The identifier returned by the register request
id
AccountId id
key
java.security.PublicKey key
version
int version
errorNumber
int errorNumber
- If the request failed, an error number will be assigned.
Some error numbers can be used to take remedial action,
such as registering a key that is not currently registered.
Most cannot be dealt with at run time, only by the server
operator or programmer.
errorText
java.lang.String errorText
- At the server's discretion, explanatory strings may be returned.
If not, the Errors.java file also supplies strings for
the various error codes in errorNumber.
Sometimes, a string is supplied even when errorNumber == 0,
where there is an interesting condition. This can be ignored.
req_version
int req_version
- Initialised to the Request version number.
requestId
java.lang.String requestId
- An identifier for the request, used to pair up
replys with requests when used over connectionless
transport layers.
Note: although we use a java String, this identifier
should only contain 8-bit ascii characters.
sub_version
int sub_version
- Initialised to the extending request version number.
account
AccountId account
- The identifer of the account for which this is a request
req_version
int req_version
- Initialised to the current best version from the REQ_* constants.
requestId
java.lang.String requestId
- An identifier for the request
This is used for the prevention of replay attacks
since the server may choose not respond to requests with
an identical id (or will return the previous reply to
this request). The identifier need only be unique over
the past few minutes, since requests older than a few
minutes are ignored anyway.
Note: although we use a java String, this identifier
should only contain 8-bit ascii characters.
sig
byte[] sig
- The signature of all other request fields
timestamp
long timestamp
- The time at which this request was created
Used for the prevention of replay attacks, since
the server will not respond to old requests.
body
Request body
- The request body
type
java.lang.String type
- The request type - this defines what the request is
cert
java.security.cert.Certificate cert
- The certificate contained in the reply
acct
Account acct
- Parent account. It knows where to find SOXServers.
issuer
Issuer issuer
- Is capable of sending requests to the server.
itemId
ItemId itemId
- The item identifier - contract hash - of this account.
lastDiff
long lastDiff
status
int status
- Status of subaccount.
stdDeviation
long stdDeviation
diff
long diff
- The time difference between the issuer and client
time
long time
- The time to sync with for this timesync request
(Sure, there's a timestamp in the base class (Request),
but it's maybe not a good idea to rely on it, considering
that this costs nothing)
version
int version
expiry
long expiry
- Tokens commonly come from a batch that is identified
with a series label or an expiry date.
These are interpreted by the subclass, may be ignored.
log
int log
- The quantity of the item that this token represents.
Encoded in logarithm - base 2 of the quantity.
Log Qty
0 0
1 1
2 2
3 4
4 8
and so forth. -1 could be used for "not stated", meaning it is
encoded in the magic parts (by use of certain key, for example).
series
byte[] series
sig
byte[] sig
- The signature on the token
(generally made by the mint according to the protocol).
How it is made and verified is up to the higher layers.
May be ignored (for technical reasons, cannot be null).
state
int state
- The state that the token is in
(generally made by the mint according to the protocol).
How it is set and advanced is up to the higher layers.
May be ignored, may use the following TOK numbers.
Only the low-order single unsigned byte is saved & restored.
subversion
int subversion
- The version of the subclass Token.
type
int type
- The type of token of this class
See TokenFactory for current definitions.
version
int version
source
AccountId source
- The account from which the payment was drawn.
This is meaningless in a token concept, just here for
informational purposes. A client would probably strip
this on sending it out.
tokens
Token[] tokens
- List of Tokens.
expiry
long expiry
- Tokens commonly come from a batch that is identified
with a series label or an expiry date.
These are interpreted by the subclass, may be ignored.
item
byte[] item
log
int log
- The quantity of the item that this token represents.
Encoded in logarithm - base 2 of the quantity.
Log Qty
0 0
1 1
2 2
3 4
4 8
and so forth. -1 could be used for "not stated", meaning it is
encoded in the magic parts (by use of certain key, for example).
series
byte[] series
subversion
int subversion
- The version of the subclass.
type
int type
- The type of token of this class
See Factory for current definitions.
version
int version
expiry
long expiry
- Tokens commonly come from a batch that is identified
with a series label or an expiry date.
These are interpreted by the subclass, may be ignored.
item
byte[] item
- The item that this token relates to.
Normally a Ricardian hash.
log
int log
- The quantity of the item that this token represents.
Encoded in logarithm - base 2 of the quantity.
Log Qty
0 0
1 1
2 2
3 4
4 8
and so forth. -1 could be used for "not stated", meaning it is
encoded in the magic parts (by use of certain key, for example).
phase
int phase
phaseVersion
int phaseVersion
- The version number for Token Phase structure is defined by
the phase.
series
byte[] series
state
int state
- The state that the token is the state machine within the phase.
How it is set and advanced is up to the phase class.
Only the low-order single unsigned byte is saved & restored.
subversion
int subversion
- The version of the subclass Token that sets the type.
type
int type
- The type of token of this class, e.g., Wagner.
See Factory for current definitions.
version
int version
number
int number
token
byte[] token
number
int number
|
Package webfunds.x509.provider |