Class AbstractJOSEObject<A,B extends JOSEHeader,C extends AbstractJOSEPayload<A>>

java.lang.Object
io.inverno.mod.security.jose.internal.AbstractJOSEObject<A,B,C>
Type Parameters:
A - the payload type
B - the JOSE header type
C - the JOSE payload type
All Implemented Interfaces:
JOSEObject<A,B>
Direct Known Subclasses:
GenericJWE, GenericJWS

public abstract class AbstractJOSEObject<A,B extends JOSEHeader,C extends AbstractJOSEPayload<A>> extends Object implements JOSEObject<A,B>

Base JOSE object implementation.

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

    Fields
    Modifier and Type
    Field
    Description
    protected final B
    The JOSE header.
    protected final C
    The JOSE payload.
  • Constructor Summary

    Constructors
    Constructor
    Description
    AbstractJOSEObject(B header, C payload)
    Creates a JOSE object with the specified JOSE header and JOSE payload.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Returns the JOSE header describing the cryptographic operations and parameters employed to secure the JOSE object.
    Returns the JOSE object payload.
    int
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface io.inverno.mod.security.jose.JOSEObject

    toCompact
  • Field Details

  • Constructor Details

    • AbstractJOSEObject

      public AbstractJOSEObject(B header, C payload)

      Creates a JOSE object with the specified JOSE header and JOSE payload.

      Parameters:
      header - the JOSE header
      payload - the JOSE payload
  • Method Details