Appendix C. Example JWE Using AES Key Wrap and AES_128_CBC_HMAC_SHA_256 (JWE 示例)
本附录给出使用 AES Key Wrap 做 key management, 并使用 AES_128_CBC_HMAC_SHA_256 做 content encryption 的完整 JWE 示例.
该场景中, CEK 使用预共享 key encryption key 包裹. 示例展示 symmetric key encryption 场景下 header, wrapped CEK, IV, ciphertext 和 tag 如何共同形成 JWE 表示.