public class CompressionStrategy extends Object implements BlobStrategy
Constructor and Description |
---|
CompressionStrategy() |
Modifier and Type | Method and Description |
---|---|
byte[] |
perform(byte[] blob)
Compress the Tokens binary object.
|
byte[] |
reverse(byte[] blob)
Decompress the Tokens binary object.
|
public byte[] perform(byte[] blob) throws TokenStrategyFailedException
perform
in interface BlobStrategy
blob
- Non null Token to modify.TokenStrategyFailedException
- If an error occurred whilst processing the Token.public byte[] reverse(byte[] blob) throws TokenStrategyFailedException
reverse
in interface BlobStrategy
blob
- Non null Token to modify.TokenStrategyFailedException
- If an error occurred whilst processing the Token.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.