{
  "about": "Chapter 09. 'encode': each implementation must produce exactly 'cookie' from the inputs, and decode it back to the state. 'refuse': decoding 'cookie' with these inputs must fail with ARX1001. Bytes are lower-case hex; key null means unsigned; query null means none (the fingerprint of empty text).",
  "signingKey": "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f",
  "encode": [
    { "provider": "DynamoDb", "state": "010203", "query": "conf_item|grp=:v0|seq asc", "key": null, "cookie": "AQAIRHluYW1vRGIHJ31TwCWrm2e45Ap5GPTwAQID" },
    { "provider": "DynamoDb", "state": "010203", "query": "conf_item|grp=:v0|seq asc", "key": "signingKey", "cookie": "AQEIRHluYW1vRGIHJ31TwCWrm2e45Ap5GPTwAQIDEleq0ANzqvwI2MVxISD3-40h77pKLSuVtoRNGojYsoo" },
    { "provider": "MongoDb", "state": "", "query": null, "key": null, "cookie": "AQAHTW9uZ29EYuOwxEKY_BwUmvv0yJlvuSQ" },
    { "provider": "Prøvider", "state": "7b226b223a22532331227d", "query": "q", "key": null, "cookie": "AQAJUHLDuHZpZGVyjjXCzTv2ZBvbDiBQt2kyy3siayI6IlMjMSJ9", "note": "a provider name with a non-ASCII letter: its length is in UTF-8 bytes" }
  ],
  "refuse": [
    { "why": "another provider wrote it", "cookie": "AQAIRHluYW1vRGIHJ31TwCWrm2e45Ap5GPTwAQID", "provider": "MongoDb", "query": "conf_item|grp=:v0|seq asc", "key": null },
    { "why": "it belongs to another query", "cookie": "AQAIRHluYW1vRGIHJ31TwCWrm2e45Ap5GPTwAQID", "provider": "DynamoDb", "query": "conf_item|grp=:v1|seq asc", "key": null },
    { "why": "unsigned, and the reader has a key", "cookie": "AQAIRHluYW1vRGIHJ31TwCWrm2e45Ap5GPTwAQID", "provider": "DynamoDb", "query": "conf_item|grp=:v0|seq asc", "key": "signingKey" },
    { "why": "signed, and the reader has no key", "cookie": "AQEIRHluYW1vRGIHJ31TwCWrm2e45Ap5GPTwAQIDEleq0ANzqvwI2MVxISD3-40h77pKLSuVtoRNGojYsoo", "provider": "DynamoDb", "query": "conf_item|grp=:v0|seq asc", "key": null },
    { "why": "its signature was changed", "cookie": "AQEIRHluYW1vRGIHJ31TwCWrm2e45Ap5GPTwAQIDEleq0ANzqvwJ2MVxISD3-40h77pKLSuVtoRNGojYsoo", "provider": "DynamoDb", "query": "conf_item|grp=:v0|seq asc", "key": "signingKey" },
    { "why": "another version", "cookie": "AgAIRHluYW1vRGIHJ31TwCWrm2e45Ap5GPTwAQID", "provider": "DynamoDb", "query": "conf_item|grp=:v0|seq asc", "key": null },
    { "why": "not base64url", "cookie": "not a cookie!", "provider": "DynamoDb", "query": null, "key": null },
    { "why": "shorter than its header", "cookie": "AQAI", "provider": "DynamoDb", "query": null, "key": null },
    { "why": "empty", "cookie": "", "provider": "DynamoDb", "query": null, "key": null }
  ]
}
