Uses of Enum
org.forgerock.json.jose.jwe.CompressionAlgorithm
Packages that use CompressionAlgorithm
Package
Description
Classes and interfaces for builder to build JWTs using a fluent API.
Classes and interfaces for JWT encryption and JWEs.
Classes and interfaces for JWT signing and JWS'.
-
Uses of CompressionAlgorithm in org.forgerock.json.jose.builders
Methods in org.forgerock.json.jose.builders with parameters of type CompressionAlgorithmModifier and TypeMethodDescriptionJweHeaderBuilder.zip(CompressionAlgorithm zip) JwtSecureHeaderBuilder.zip(CompressionAlgorithm zip) Sets the Compression Algorithm header parameter for this JWE. -
Uses of CompressionAlgorithm in org.forgerock.json.jose.jwe
Methods in org.forgerock.json.jose.jwe that return CompressionAlgorithmModifier and TypeMethodDescriptionstatic CompressionAlgorithmCompressionAlgorithm.parseAlgorithm(String algorithm) Parses the given algorithm string to find the matching CompressionAlgorithm enum constant.static CompressionAlgorithmReturns 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.Methods in org.forgerock.json.jose.jwe with parameters of type CompressionAlgorithmModifier and TypeMethodDescriptionCompressionManager.compress(CompressionAlgorithm compressionAlgorithm, String data) Convenience method equivalent toBase64url.encode(getCompressionHandler(compressionAlgorithm).compress(data.getBytes(Utils.CHARSET))).byte[]CompressionManager.decompress(CompressionAlgorithm compressionAlgorithm, String data) Convenience method equivalent togetCompressionHandler(compressionAlgorithm).decompress(Base64url.decode(data)).CompressionManager.getCompressionHandler(CompressionAlgorithm algorithm) Gets the appropriate CompressionHandler that can perform the required compression using the given compression algorithm. -
Uses of CompressionAlgorithm in org.forgerock.json.jose.jws
Methods in org.forgerock.json.jose.jws that return CompressionAlgorithmModifier and TypeMethodDescriptionJwtSecureHeader.getCompressionAlgorithm()Gets the Compression Algorithm header parameter for this JWE.Methods in org.forgerock.json.jose.jws with parameters of type CompressionAlgorithmModifier and TypeMethodDescriptionvoidJwtSecureHeader.setCompressionAlgorithm(CompressionAlgorithm compressionAlgorithm) Sets the Compression Algorithm header parameter for this JWE.