Class StateSerialization

java.lang.Object
com.kingsrook.qqq.backend.core.state.StateSerialization

public final class StateSerialization extends Object
Turns state values into the text a shared state provider stores, and back: Java serialization, gzip, then (with a key) AES-256-GCM bound to the state key, then base64. Reading goes through an ObjectInputFilter that allows only java.*, javax.*, com.kingsrook.* and the configured class prefixes, with depth and size limits. Formats: "g1:" + base64(gzip) without a key; "e1:" + base64(nonce + ciphertext) with one. A value written in the other format reads as an error (callers treat it as absent).