Interface CryptogramDataBuilder

    • Method Detail

      • minimumSetOfDataElement

        static java.util.List<java.lang.String> minimumSetOfDataElement​(TLVList data)
        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

        java.lang.String getDefaultARPCRequest​(boolean approved)
        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

        java.lang.String buildARQCRequest​(TLVList data,
                                          IssuerApplicationData iad)
        Select necessary data elements and create the string used to generate the ARQC

        Parameters:
        data - ICC data received
        iad - Issuer application Data
        Returns:
        String used to generate the ARQC