public class TokenBlobStrategy extends Object
Constructor and Description |
---|
TokenBlobStrategy(TokenStrategyFactory factory,
CoreTokenConfig config) |
Modifier and Type | Method and Description |
---|---|
byte[] |
perform(byte[] data)
Perform the strategy on the byte array.
|
byte[] |
reverse(byte[] data)
Performs the reverse strategy on the byte array.
|
@Inject public TokenBlobStrategy(TokenStrategyFactory factory, CoreTokenConfig config)
public byte[] perform(byte[] data) throws TokenStrategyFailedException
data
- A possibly null byte[] to perform the strategy on.TokenStrategyFailedException
- If an error occurred whilst processing the Token.public byte[] reverse(byte[] data) throws TokenStrategyFailedException
data
- A possibly null byte[] to perform the reverse strategy on.TokenStrategyFailedException
- If an error occurred whilst processing the Token.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.