Interface SvCommandSecurityDataApi
-
public interface SvCommandSecurityDataApi
Contains the input/output data of the SV command operations (LOAD / DEBIT / UNDEBIT).- Since:
- 0.1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]
getSvCommandPartialRequest()
Returns the "SV Load/Debit/Undebit" ingoing partial command data.byte[]
getSvGetRequest()
Returns the "SV Get" ingoing command data.byte[]
getSvGetResponse()
Returns the "SV Get" outgoing command data.SvCommandSecurityDataApi
setSerialNumber(byte[] serialNumber)
Sets the serial number to be placed in the "SV Load/Debit/Undebit" command request.SvCommandSecurityDataApi
setTerminalChallenge(byte[] terminalChallenge)
Sets the terminal challenge to be placed in the SV Load/Debit/Undebit command request.SvCommandSecurityDataApi
setTerminalSvMac(byte[] terminalSvMac)
Sets the terminal SV MAC to be placed in the "SV Load/Debit/Undebit" command request.SvCommandSecurityDataApi
setTransactionNumber(byte[] transactionNumber)
Sets the transaction number to be placed in the "SV Load/Debit/Undebit" command request.
-
-
-
Method Detail
-
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
SvCommandSecurityDataApi setSerialNumber(byte[] serialNumber)
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
SvCommandSecurityDataApi setTransactionNumber(byte[] transactionNumber)
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
SvCommandSecurityDataApi setTerminalChallenge(byte[] terminalChallenge)
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
SvCommandSecurityDataApi setTerminalSvMac(byte[] terminalSvMac)
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
-
-