Class PpseFciTemplate

java.lang.Object
com.gemalto.mfs.mwsdk.dcm.ppse.PpseFciTemplate

public final class PpseFciTemplate extends Object
Represents the PPSE FCI (File Control Information) Template. This class encapsulates the PPSE response structure containing the DF Name and Proprietary Template.
  • Constructor Details

    • PpseFciTemplate

      public PpseFciTemplate(@NonNull byte[] fciData) throws InternalComponentException
      Constructs a PpseFciTemplate from raw FCI data.
      Parameters:
      fciData - The raw FCI data in TLV format
      Throws:
      InternalComponentException - if fciData doesn't follow BER-TLV rules
    • PpseFciTemplate

      public PpseFciTemplate(@NonNull byte[] dfName, @NonNull FciProprietaryTemplate proprietaryTemplate)
      Constructs a PpseFciTemplate with explicit values.
      Parameters:
      dfName - The DF Name (Tag 84)
      proprietaryTemplate - The FCI Proprietary Template (Tag A5)
  • Method Details

    • getDfName

      @NonNull public byte[] getDfName()
      Gets the DF Name (Dedicated File Name) from the FCI template. This typically contains the PPSE AID (e.g., "2PAY.SYS.DDF01").
      Returns:
      The DF Name as a byte array (Tag 84)
    • setDfName

      public void setDfName(@NonNull byte[] dfName)
    • getProprietaryTemplate

      @NonNull public FciProprietaryTemplate getProprietaryTemplate()
      Gets the FCI Proprietary Template containing issuer-specific data.
      Returns:
      The FCI Proprietary Template (Tag A5)
    • getData

      @NonNull public byte[] getData()
      Gets the raw data built from FCI Template.
      Returns:
      Raw data built from FCI Template.