|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--webfunds.sox.PaymentFactory
| Field Summary | |
static java.lang.String[] |
base64Type
|
static int |
CHAUM_TOKEN
Use the numbers 100 - 110 for experimental methods, not to be used outside your own private circle. |
static int |
NONE
Use the numbers 100 - 110 for experimental methods, not to be used outside your own private circle. |
static int |
RANDOM_TOKEN
Use the numbers 100 - 110 for experimental methods, not to be used outside your own private circle. |
static int |
SOX_CHEQUE
Use the numbers 100 - 110 for experimental methods, not to be used outside your own private circle. |
static java.lang.String[] |
typeNames
|
static int |
WAGNER_TOKEN
Use the numbers 100 - 110 for experimental methods, not to be used outside your own private circle. |
| Method Summary | |
static java.security.KeyPair |
createKeyPair(int typ,
byte[] series,
int log)
Get me a KeyPair for some token series. |
static AbstractPayment |
decode(byte[] buf)
|
static AbstractPayment |
example()
|
static AbstractPayment |
example(int type)
|
static Token[] |
getProtoTokens(int typ,
long amount)
Get me a list of proto Tokens for a particular type. |
static int |
getType(java.lang.String name)
Return a the type number for this payment name. |
static java.lang.String |
getTypeString(int type)
Return a diags string for this type. |
static boolean |
isTokenPayment(int i)
|
static long |
log2qty(int log)
|
static void |
main(java.lang.String[] args)
|
static int[] |
qty2coins(long qty)
|
static int |
qty2log(long qty)
|
static boolean |
valid(int type)
Is this a valid type, at least according to the ones known about here? |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public static final int NONE
public static final int SOX_CHEQUE
public static final int RANDOM_TOKEN
public static final int WAGNER_TOKEN
public static final int CHAUM_TOKEN
public static final java.lang.String[] typeNames
public static final java.lang.String[] base64Type
| Method Detail |
public static boolean isTokenPayment(int i)
public static AbstractPayment decode(byte[] buf)
throws SOXPacketException
public static boolean valid(int type)
public static java.lang.String getTypeString(int type)
public static int getType(java.lang.String name)
public static java.security.KeyPair createKeyPair(int typ,
byte[] series,
int log)
throws SOXKeyException
public static Token[] getProtoTokens(int typ,
long amount)
throws SOXArgsException
public static long log2qty(int log)
public static int qty2log(long qty)
public static int[] qty2coins(long qty)
public static void main(java.lang.String[] args)
public static AbstractPayment example()
public static AbstractPayment example(int type)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||