Class RecipientJWEReader<A>

Type Parameters:
A - the expected payload type
All Implemented Interfaces:
JOSEObjectReader<A,JWEHeader,JWE<A>,GenericJWEReader<A>>, JWEReader<A,GenericJWEReader<A>>

public class RecipientJWEReader<A> extends GenericJWEReader<A>

JSON JWE recipient specific JWE reader used to read recipient specific JWE when reading a JSON JWE.

Since:
1.5
Author:
Jeremy Kuhn
  • Constructor Details

    • RecipientJWEReader

      public RecipientJWEReader(com.fasterxml.jackson.databind.ObjectMapper mapper, io.inverno.mod.security.jose.internal.converter.DataConversionService dataConversionService, JWKService jwkService, Type type, org.reactivestreams.Publisher<? extends JWK> keys, List<JWEZip> zips, GenericJWEHeader jweHeader, byte[] aad)

      Creates a JSON JWE recipient reader.

      Parameters:
      mapper - an object mapper
      dataConversionService - a data conversion service
      jwkService - a JWK service
      type - a payload type
      keys - the recipient specific keys to consider to decrypt the CEK
      zips - a list of supported JWE compression algorithms
      jweHeader - the recipient JWE header
      aad - the additional authentication data
  • Method Details