Class GenericJsonJWS<A,B extends JsonJWS.Signature<A>>

java.lang.Object
io.inverno.mod.security.jose.internal.AbstractJsonJOSEObject<A>
io.inverno.mod.security.jose.internal.jws.GenericJsonJWS<A,B>
Type Parameters:
A - the payload type
B - the JSON JWS signature type
All Implemented Interfaces:
JsonJOSEObject<A>, JsonJWS<A,B>

public class GenericJsonJWS<A,B extends JsonJWS.Signature<A>> extends AbstractJsonJOSEObject<A> implements JsonJWS<A,B>

Generic JSON JWS implementation.

Since:
1.5
Author:
Jeremy Kuhn
  • Constructor Details

    • GenericJsonJWS

      public GenericJsonJWS(com.fasterxml.jackson.databind.ObjectMapper mapper, GenericJWSPayload<A> payload, List<B> signatures)

      Creates a generic JSON JWS.

      Parameters:
      mapper - an object mapper
      payload - the JSON JWS payload
      signatures - a list of JSON JWS signatures
  • Method Details