Module io.inverno.mod.security.jose
Package io.inverno.mod.security.jose.jwe
Interface JWEHeaderConfigurator<A extends JWEHeaderConfigurator<A>>
- Type Parameters:
A
- the JWE JOSE header configurator type
- All Superinterfaces:
JOSEHeaderConfigurator<A>
public interface JWEHeaderConfigurator<A extends JWEHeaderConfigurator<A>>
extends JOSEHeaderConfigurator<A>
A JWE JOSE header configurator is used in JWEBuilder
or JsonJWEBuilder
to configure JWE JOSE headers when building JWE objects.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the compression algorithm.Specifies the encryption algorithm.Methods inherited from interface io.inverno.mod.security.jose.JOSEHeaderConfigurator
addCustomParameter, algorithm, contentType, critical, jwk, jwkSetURL, keyId, type, x509CertificateChain, x509CertificateSHA1Thumbprint, x509CertificateSHA256Thumbprint, x509CertificateURL
-
Method Details
-
encryptionAlgorithm
Specifies the encryption algorithm.
- Parameters:
enc
- the encryption algorithm- Returns:
- the JWE JOSE header configurator
-
compressionAlgorithm
Specifies the compression algorithm.
- Parameters:
zip
- the compression algorithm- Returns:
- the JWE JOSE header configurator
-