Package org.forgerock.am.cts.utils.blob
Interface TokenBlobStrategy
public interface TokenBlobStrategy
Responsible for selecting the appropriate algorithm for dealing with Token binary objects
prior to them being stored in the data store.
-
Method Summary
-
Method Details
-
perform
Perform the strategy on the byte array.- Parameters:
data
- A possibly null byte[] to perform the strategy on.- Returns:
- A modified copy of the byte[] or null if data was null.
- Throws:
TokenStrategyFailedException
- If an error occurred whilst processing the Token.
-
reverse
Performs the reverse strategy on the byte array.- Parameters:
data
- A possibly null byte[] to perform the reverse strategy on.- Returns:
- A modified copy of the byte[] or null if data was null.
- Throws:
TokenStrategyFailedException
- If an error occurred whilst processing the Token.
-