Class IssuerApplicationData

java.lang.Object
org.jpos.emv.IssuerApplicationData
All Implemented Interfaces:
Loggeable

public final class IssuerApplicationData extends Object implements Loggeable
Issuer Application Data parser (IAD, tag 0x9F10) with support for the following formats: - VIS 1.5 - M/CHIP 4 - EMV Format A (as per the EMV 4.3 Book 3 spec)
  • Constructor Details

    • IssuerApplicationData

      public IssuerApplicationData(String hexIAD)
      Constructs an IssuerApplicationData instance by parsing a hexadecimal IAD string.
      Parameters:
      hexIAD - Hexadecimal (String) representation of the IAD.
    • IssuerApplicationData

      public IssuerApplicationData(byte[] iad)
      Constructs an IssuerApplicationData instance by parsing a byte-array IAD.
      Parameters:
      iad - Byte array representation of the IAD.
  • Method Details

    • getDerivationKeyIndex

      Returns a hexadecimal representation of the Derivation Key Index (DKI).
      Returns:
      A hexadecimal representation of the Derivation Key Index (DKI).
    • getCryptogramVersionNumber

      Returns a hexadecimal representation of the Cryptogram Version Number (CVN).
      Returns:
      A hexadecimal representation of the Cryptogram Version Number (CVN).
    • getCommonCoreIdentifier

      Returns a hexadecimal representation of the Common Core Identifier (CCI).
      Returns:
      A hexadecimal representation of the Common Core Identifier (CCI)
    • getCardVerificationResults

      Returns a hexadecimal representation of the Card Verification Results (CVR).
      Returns:
      A hexadecimal representation of the Card Verification Results (CVR).
    • getDAC

      public String getDAC()
      Returns a hexadecimal representation of the DAC/ICC dynamic number.
      Returns:
      A hexadecimal representation of the DAC/ICC dynamic number.
    • getCounters

      public String getCounters()
      Returns a hexadecimal representation of multiple counters, depending on the format.
      Returns:
      A hexadecimal representation of multiple counters, depending on the format.
    • getFormat

      Returns the format of the IAD.
      Returns:
      The format of the IAD.
    • getIssuerDiscretionaryData

      Returns the Issuer Discretionary Data (IDD).
      Returns:
      The Issuer Discretionary Data (IDD).
    • getLastOnlineATC

      Returns the last online Application Transaction Counter (ATC).
      Returns:
      hexadecimal representation of the last online ATC, or null if not present.
    • getCryptogramSpec

      Returns the CryptogramSpec for this IAD format.
      Returns:
      the cryptogram specification
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • dump

      public void dump(PrintStream p, String indent)
      Description copied from interface: Loggeable
      Dumps a human-readable representation of this object to the print stream.
      Specified by:
      dump in interface Loggeable
      Parameters:
      p - the output stream
      indent - indentation prefix