Class AbstractJsonJOSEObject<A>

java.lang.Object
io.inverno.mod.security.jose.internal.AbstractJsonJOSEObject<A>
Type Parameters:
A - the payload type
All Implemented Interfaces:
JsonJOSEObject<A>
Direct Known Subclasses:
GenericJsonJWE, GenericJsonJWS

public abstract class AbstractJsonJOSEObject<A> extends Object implements JsonJOSEObject<A>

Base JSON JOSE Object implementation.

Since:
1.5
Author:
Jeremy Kuhn
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final com.fasterxml.jackson.databind.ObjectMapper
    The object mapper.
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractJsonJOSEObject(com.fasterxml.jackson.databind.ObjectMapper mapper)
    Creates a JSON JOSE object.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
    Serializes the JOSE object to a JSON representation.

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • mapper

      protected final com.fasterxml.jackson.databind.ObjectMapper mapper
      The object mapper.
  • Constructor Details

    • AbstractJsonJOSEObject

      public AbstractJsonJOSEObject(com.fasterxml.jackson.databind.ObjectMapper mapper)

      Creates a JSON JOSE object.

      Parameters:
      mapper - an object mapper
  • Method Details