Interface CryptogramDataBuilder
- All Known Implementing Classes:
CVN10DataBuilder, CVN18DataBuilder, CVN22DataBuilder, CVNCPADataBuilder, CVNMCDataBuilder
public interface CryptogramDataBuilder
Interface that provides methods to build strings for ARPC and ARQC generation
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuildARQCRequest(TLVList data, IssuerApplicationData iad) Select necessary data elements and create the string used to generate the ARQC with no paddingdefault StringbuildARQCRequest_padded(TLVList data, IssuerApplicationData iad) Select necessary data elements and create the string used to generate the ARQC with paddinggetDefaultARPCRequest(boolean approved) Method that returns default issuer response data (ARC or CSU)Defines how to pad the request data when generating the ARQC.Method that selects the minimum set of data elements recommended for the generation of application cryptograms described in EMV Book 2 sec 8.1.1
-
Method Details
-
minimumSetOfDataElement
Method that selects the minimum set of data elements recommended for the generation of application cryptograms described in EMV Book 2 sec 8.1.1- Parameters:
data- ICC data- Returns:
- Minimum Set of Data Elements for Application Cryptogram Generation
-
getDefaultARPCRequest
Method that returns default issuer response data (ARC or CSU)- Parameters:
approved- true if transaction was approved, otherwise false- Returns:
- String representing default issuer response data that will be used to generate the ARPC
-
buildARQCRequest
Select necessary data elements and create the string used to generate the ARQC with no padding- Parameters:
data- ICC data receivediad- Issuer application Data- Returns:
- String used to generate the ARQC
-
buildARQCRequest_padded
Select necessary data elements and create the string used to generate the ARQC with padding- Parameters:
data- ICC data receivediad- Issuer application Data- Returns:
- String used to generate the ARQC
-
getPaddingMethod
Defines how to pad the request data when generating the ARQC.- Returns:
- PaddingMethod this builder uses
-