Module io.inverno.mod.security.jose
Package io.inverno.mod.security.jose.jws
Interface JWSHeaderConfigurator<A extends JWSHeaderConfigurator<A>>
- Type Parameters:
A
- the JWS JOSE header configurator type
- All Superinterfaces:
JOSEHeaderConfigurator<A>
public interface JWSHeaderConfigurator<A extends JWSHeaderConfigurator<A>>
extends JOSEHeaderConfigurator<A>
A JWS JOSE header configurator is used in JWSBuilder
or JsonJWSBuilder
to configure JWS JOSE headers when building JWS objects.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies whether the payload should be encoded as Base64URL or processed unencoded.Methods inherited from interface io.inverno.mod.security.jose.JOSEHeaderConfigurator
addCustomParameter, algorithm, contentType, critical, jwk, jwkSetURL, keyId, type, x509CertificateChain, x509CertificateSHA1Thumbprint, x509CertificateSHA256Thumbprint, x509CertificateURL
-
Method Details
-
base64EncodePayload
Specifies whether the payload should be encoded as Base64URL or processed unencoded.
- Parameters:
b64
- true or null to encode the payload as Base64URL, false otherwise- Returns:
- this builder
-