Package | Description |
---|---|
org.forgerock.json.jose.builders | |
org.forgerock.json.jose.jwe | |
org.forgerock.json.jose.jws |
Modifier and Type | Method and Description |
---|---|
B |
JwtSecureHeaderBuilder.zip(CompressionAlgorithm zip)
Sets the Compression Algorithm header parameter for this JWE.
|
JweHeaderBuilder<B> |
JweHeaderBuilder.zip(CompressionAlgorithm zip) |
Modifier and Type | Method and Description |
---|---|
static CompressionAlgorithm |
CompressionAlgorithm.parseAlgorithm(String algorithm)
Parses the given algorithm string to find the matching CompressionAlgorithm enum constant.
|
static CompressionAlgorithm |
CompressionAlgorithm.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompressionAlgorithm[] |
CompressionAlgorithm.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
String |
CompressionManager.compress(CompressionAlgorithm compressionAlgorithm,
String data)
Convenience method equivalent to
Base64url.encode(getCompressionHandler(compressionAlgorithm).compress(data.getBytes(Utils.CHARSET))) . |
byte[] |
CompressionManager.decompress(CompressionAlgorithm compressionAlgorithm,
String data)
Convenience method equivalent to
getCompressionHandler(compressionAlgorithm).decompress(Base64url.decode(data)) . |
CompressionHandler |
CompressionManager.getCompressionHandler(CompressionAlgorithm algorithm)
Gets the appropriate CompressionHandler that can perform the required compression using the given
compression algorithm.
|
Modifier and Type | Method and Description |
---|---|
CompressionAlgorithm |
JwtSecureHeader.getCompressionAlgorithm()
Gets the Compression Algorithm header parameter for this JWE.
|
Modifier and Type | Method and Description |
---|---|
void |
JwtSecureHeader.setCompressionAlgorithm(CompressionAlgorithm compressionAlgorithm)
Sets the Compression Algorithm header parameter for this JWE.
|
Copyright © 2025 Open Identity Platform Community. All rights reserved.