|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--webfunds.token.Factory
| Field Summary | |
static java.lang.String[] |
base64Type
A short string that can be used in an encoding. |
static int |
CHAUM_TOKEN
Each Token technology type gets a number. |
static int |
END_EXPERIMENTAL
Each Token technology type gets a number. |
static int |
NONE
Each Token technology type gets a number. |
static int |
RANDOM_TOKEN
Each Token technology type gets a number. |
static int |
SOX_CHEQUE
Each Token technology type gets a number. |
static int |
START_EXPERIMENTAL
Each Token technology type gets a number. |
static java.lang.String[] |
typeNames
|
static int |
WAGNER_TOKEN
Each Token technology type gets a number. |
| Constructor Summary | |
protected |
Factory()
|
| Method Summary | |
static ParamsPair |
createPair(int typ)
Get me a PairParams for some token series. |
static ParamsPair |
createPair(java.security.SecureRandom sr,
int typ,
byte[] item,
byte[] series,
long expiry,
byte log)
Get me a ParamsPair for some token series. |
static Token |
decode(byte[] buf)
|
static Token |
example()
|
static Token |
example(int type)
|
static int |
exampleType()
|
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 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 int START_EXPERIMENTAL
public static final int END_EXPERIMENTAL
public static final java.lang.String[] typeNames
public static final java.lang.String[] base64Type
| Constructor Detail |
protected Factory()
| Method Detail |
public static boolean isTokenPayment(int i)
public static Token decode(byte[] buf)
throws TokenPacketException
public static boolean valid(int type)
public static java.lang.String getTypeString(int type)
public static int getType(java.lang.String name)
public static ParamsPair createPair(int typ)
public static ParamsPair createPair(java.security.SecureRandom sr,
int typ,
byte[] item,
byte[] series,
long expiry,
byte log)
throws TokenKeyException
public static Token[] getProtoTokens(int typ,
long amount)
throws java.lang.IllegalArgumentException
public static int exampleType()
public static Token example()
public static Token example(int type)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||