Interface SvCommandSecurityDataApi
public interface SvCommandSecurityDataApi
Contains the input/output data of the SV command operations (LOAD / DEBIT / UNDEBIT).
- Since:
- 0.1.0
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Returns the "SV Load/Debit/Undebit" ingoing partial command data.byte[]
Returns the "SV Get" ingoing command data.byte[]
Returns the "SV Get" outgoing command data.setSerialNumber
(byte[] serialNumber) Sets the serial number to be placed in the "SV Load/Debit/Undebit" command request.setTerminalChallenge
(byte[] terminalChallenge) Sets the terminal challenge to be placed in the SV Load/Debit/Undebit command request.setTerminalSvMac
(byte[] terminalSvMac) Sets the terminal SV MAC to be placed in the "SV Load/Debit/Undebit" command request.setTransactionNumber
(byte[] transactionNumber) Sets the transaction number to be placed in the "SV Load/Debit/Undebit" command request.
-
Method Details
-
getSvGetRequest
byte[] getSvGetRequest()Returns the "SV Get" ingoing command data.- Returns:
- A not empty byte array containing the "SV Get" apdu request data.
- Since:
- 0.1.0
-
getSvGetResponse
byte[] getSvGetResponse()Returns the "SV Get" outgoing command data.- Returns:
- A not empty byte array containing the "SV Get" apdu response data.
- Since:
- 0.1.0
-
getSvCommandPartialRequest
byte[] getSvCommandPartialRequest()Returns the "SV Load/Debit/Undebit" ingoing partial command data.- Returns:
- A not empty byte array containing the "SV Load/Debit/Undebit" apdu request data.
- Since:
- 0.1.0
-
setSerialNumber
Sets the serial number to be placed in the "SV Load/Debit/Undebit" command request.- Parameters:
serialNumber
- The serial number to be used.- Returns:
- The current instance.
- Since:
- 0.1.0
-
setTransactionNumber
Sets the transaction number to be placed in the "SV Load/Debit/Undebit" command request.- Parameters:
transactionNumber
- The transaction number to be used.- Returns:
- The current instance.
- Since:
- 0.1.0
-
setTerminalChallenge
Sets the terminal challenge to be placed in the SV Load/Debit/Undebit command request.- Parameters:
terminalChallenge
- The terminal challenge to be used.- Returns:
- The current instance.
- Since:
- 0.1.0
-
setTerminalSvMac
Sets the terminal SV MAC to be placed in the "SV Load/Debit/Undebit" command request.- Parameters:
terminalSvMac
- The terminal SV MAC to be used.- Returns:
- The current instance.
- Since:
- 0.1.0
-