JOSE-Cookbook (RFC 7520) contains a set of examples using Javascript Object Signing and Encryption (JOSE) technology to protect data.

These examples present a representative sampling of JSON Web Key (JWK) objects as well as various JSON Web Signature (JWS) and JSON Web Encryption (JWE) results given similar inputs.

More Information#

There might be more information for this subject on one of the following: