Class ProtectDebugInfo

java.lang.Object
org.jpos.transaction.ProtectDebugInfo
All Implemented Interfaces:
Configurable, AbortParticipant, TransactionConstants, TransactionParticipant

public class ProtectDebugInfo extends Object implements AbortParticipant, Configurable
Sample Usage:
    <participant class="org.jpos.transaction.ProtectDebugInfo">

        <property name="protect-entry" value="REQUEST" />
        <property name="protect-entry" value="RESPONSE" />
        <property name="protect-entry" value="PAN, EXP, REQUEST_ICC_DATA" />
        <property name="wipe-entry"    value="EXPDATE" />

        <!-- if the protected ctx entry is an ISOMsg -->
        <property name="protect-ISOMsg" value="2" />
        <property name="protect-ISOMsg" value="35, 45" />
        <property name="wipe-ISOMsg"    value="52, 55" />

        <!-- if the protected ctx entry is a TLVList -->
        <property name="wipe-TLVList" value="0x56" />
        <property name="wipe-TLVList" value="0x57" />
        <property name="wipe-TLVList" value="0x5a, 0x5f20" />

        <!-- if the protected ctx entry is a FSDMsg -->
        <property name="protect-FSDMsg" value="account-number" />
        <property name="protect-FSDMsg" value="track2-data" />
        <property name="wipe-FSDMsg"    value="secret-key" />

    </participant>
Configuration properties accept comma/space-separated values, but can also be given in multiple occurrences. All occurrences of the same property will be merged into a single list.