Module io.inverno.mod.security.jose
Package io.inverno.mod.security.jose
Interface JsonJOSEObject<A>
- Type Parameters:
A
- the payload type
public interface JsonJOSEObject<A>
A JSON JOSE object supporting JSON representation.
A JSON JOSE object is serialized to a JSON representation as defined by RFC7515 Section 7.2 and RFC7516 Section 7.2.
- Since:
- 1.5
- Author:
- Jeremy Kuhn
- See Also:
-
Method Summary
-
Method Details
-
toJson
Serializes the JOSE object to a JSON representation.
- Returns:
- the JSON representation of the JOSE object
- Throws:
JOSEProcessingException
- if there was an error serializing the JOSE object
-