Package com.gemalto.mfs.mwsdk.dcm.ppse
Class PpseFciTemplate
java.lang.Object
com.gemalto.mfs.mwsdk.dcm.ppse.PpseFciTemplate
Represents the PPSE FCI (File Control Information) Template.
This class encapsulates the PPSE response structure containing the DF Name and Proprietary Template.
-
Constructor Summary
ConstructorsConstructorDescriptionPpseFciTemplate(byte[] fciData) Constructs a PpseFciTemplate from raw FCI data.PpseFciTemplate(byte[] dfName, FciProprietaryTemplate proprietaryTemplate) Constructs a PpseFciTemplate with explicit values. -
Method Summary
-
Constructor Details
-
PpseFciTemplate
Constructs a PpseFciTemplate from raw FCI data.- Parameters:
fciData- The raw FCI data in TLV format- Throws:
InternalComponentException- iffciDatadoesn't follow BER-TLV rules
-
PpseFciTemplate
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
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.
-