Class CVNCPADataBuilder
java.lang.Object
org.jpos.emv.cryptogram.CVNCPADataBuilder
- All Implemented Interfaces:
CryptogramDataBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from interface CryptogramDataBuilder
CryptogramDataBuilder.PaddingMethod -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuildARQCRequest(TLVList data, IssuerApplicationData iad) Select necessary data elements and create the string used to generate the ARQC with no paddinggetDefaultARPCRequest(boolean approved) Method that returns default issuer response data (ARC or CSU)Defines how to pad the request data when generating the ARQC.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CryptogramDataBuilder
buildARQCRequest_padded
-
Constructor Details
-
CVNCPADataBuilder
public CVNCPADataBuilder()
-
-
Method Details
-
getDefaultARPCRequest
Description copied from interface:CryptogramDataBuilderMethod that returns default issuer response data (ARC or CSU)- Specified by:
getDefaultARPCRequestin interfaceCryptogramDataBuilder- 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
Description copied from interface:CryptogramDataBuilderSelect necessary data elements and create the string used to generate the ARQC with no padding- Specified by:
buildARQCRequestin interfaceCryptogramDataBuilder- Parameters:
data- ICC data receivediad- Issuer application Data- Returns:
- String used to generate the ARQC
-
getPaddingMethod
Description copied from interface:CryptogramDataBuilderDefines how to pad the request data when generating the ARQC.- Specified by:
getPaddingMethodin interfaceCryptogramDataBuilder- Returns:
- PaddingMethod this builder uses
-