|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface CHVEncoder
Encode a String for card holder verification.
| Field Summary | |
|---|---|
static java.lang.String |
BCD_ENCODING
The CHV is actually a PIN that is encoded in packed binary coded decimals (BCD) |
static java.lang.String |
F2B_ENCODING
The CHV is actually a PIN that is encoded in packed binary coded decimals (BCD) using ISO 9564-1 Format 2 Block |
static java.lang.String |
STRING_ENCODING
String encoding; that is, use the String.getBytes() method. |
| Method Summary | |
|---|---|
byte[] |
encodeCHV(java.lang.String chv)
Transform a Java String into a byte array suitable for the verification command |
| Field Detail |
|---|
static final java.lang.String STRING_ENCODING
static final java.lang.String BCD_ENCODING
static final java.lang.String F2B_ENCODING
| Method Detail |
|---|
byte[] encodeCHV(java.lang.String chv)
chv - the String (returned by keyboardInput e.g.)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||