public static interface DOFOperation.Session.DataTransform
DOFOperation.Session
. For the data
to be understood, the Requestor and Provider must agree on the manner of transformation. This may require
some initial exchanging of keys, etc., in order to make the transform unique per session.Modifier and Type | Method and Description |
---|---|
byte[] |
transformReceiveData(DOFInterfaceID interfaceID,
byte[] data)
This method decrypts and/or uncompresses received data.
|
byte[] |
transformSendData(DOFInterfaceID interfaceID,
byte[] data)
This method encrypts and/or compresses received data.
|
byte[] transformReceiveData(DOFInterfaceID interfaceID, byte[] data) throws DOFErrorException
interfaceID
- This identifies the interface that the data relates to.data
- This is the encrypted and/or compressed data.DOFErrorException
- If unable to apply the DataTransform.byte[] transformSendData(DOFInterfaceID interfaceID, byte[] data) throws DOFErrorException
interfaceID
- This identifies the interface that the data relates to.data
- This is the unencrypted/uncompressed data.DOFErrorException
- If unable to apply the DataTransform.