JSON Web Signature (JWS) represents content secured with digital signatures or Message Authentication Codes (MACs) using JSON-based data structures.
It consists of:
- A JOSE Header (the union of the JWS Protected Header and the JWS Unprotected Header), describing the digital signature or MAC used to generate the signature
- A JWS Payload, which is the content to be transmitted
- A JWS Signature
The JWS Signature can be used by the recipient of the JWS to verify the integrity of the JWS Protected Header, JWS Payload and JWS Signature.
It is specified in RFC 7515.