com.iplanet.trustbase.initiator.dsms
Interface DataConverterClient


public interface DataConverterClient

The DataConverterClient interface allows different protocols to convert their request and response data from the native network representation to something that is human readable.


Method Summary
 byte[] makeHumanReadableRequest(byte[] request)
          Provide a human readable request given a raw network request.
 byte[] makeHumanReadableResponse(byte[] response)
          Provide a human readable response given a raw network response.
 

Method Detail

makeHumanReadableRequest

public byte[] makeHumanReadableRequest(byte[] request)
                                throws CSCException
Provide a human readable request given a raw network request.
Parameters:
request - The raw network request you need to convert.
Returns:
The converted human readable request.

makeHumanReadableResponse

public byte[] makeHumanReadableResponse(byte[] response)
                                 throws CSCException
Provide a human readable response given a raw network response.
Parameters:
response - The raw network response you need to convert.
Returns:
The converted human readable response.