Module io.inverno.mod.security.jose
Class GenericJsonJWEBuilder.RecipientInfo
java.lang.Object
io.inverno.mod.security.jose.internal.jwe.GenericJsonJWEBuilder.RecipientInfo
- Enclosing class:
- GenericJsonJWEBuilder<A>
Built recipient info for building and holding recipient specific information.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
-
Constructor Summary
ConstructorsConstructorDescriptionRecipientInfo(Consumer<GenericJWEHeader> headerConfigurer, org.reactivestreams.Publisher<? extends JWK> keys) Creates built recipient info. -
Method Summary
-
Constructor Details
-
RecipientInfo
public RecipientInfo(Consumer<GenericJWEHeader> headerConfigurer, org.reactivestreams.Publisher<? extends JWK> keys) Creates built recipient info.
- Parameters:
headerConfigurer- the recipient specified JWE header configurerkeys- the recipient specific keys to consider to secure the CEK
-
-
Method Details
-
buildJWEHeaders
Builds the JWE headers.
These includes the recipient specific JWE header and the recipient JWE header resulting from the merge of the JSON JWE protected header, the JSON JWE unprotected header and the recipient specific JWE header.
- Throws:
JWEBuildException- if there was an error building the JWE headers
-