Package | Description |
---|---|
com.cloudpos.pinpad |
Provide access to the PINPad device.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
PINPadDevice.calculateMac(KeyInfo keyInfo,
int macFlag,
byte[] plain)
Calculates the MAC using current user key defined in
KeyInfo . |
byte[] |
PINPadDevice.encryptData(KeyInfo keyInfo,
byte[] plain)
Encrypts the data using user key defined in
KeyInfo |
byte[] |
PINPadDevice.encryptData(KeyInfo keyInfo,
byte[] plain,
int mode,
byte[] IV,
int IVLen)
Encrypts the data using user key defined in
KeyInfo |
void |
PINPadDevice.listenForPinBlock(KeyInfo keyInfo,
java.lang.String pan,
boolean voicePrompt,
OperationListener listener,
int timeout)
Let the user input the PIN and calculate the encrypted pin block.
|
void |
PINPadDevice.updateUserKey(int masterKeyID,
int userKeyID,
byte[] cipherNewUserKey,
int checkType,
byte[] checkValue,
KeyInfo keyInfo)
Update user key when using Master/Session key type.
|
PINPadOperationResult |
PINPadDevice.waitForPinBlock(KeyInfo keyInfo,
java.lang.String pan,
boolean voicePrompt,
int timeout)
The synchronous method of
PINPadDevice.listenForPinBlock(KeyInfo,String,boolean,OperationListener,int) . |