JSON Web Signature (JWS) header.
Supports all {@link #getRegisteredParameterNames registered headerparameters} of the JWS specification:
- alg
- jku
- jwk
- x5u
- x5t
- x5t#S256
- x5c
- kid
- typ
- cty
- crit
The header may also include {@link #getCustomParams customparameters}; these will be serialised and parsed along the registered ones.
Example header of a JSON Web Signature (JWS) object using the {@link JWSAlgorithm#HS256 HMAC SHA-256 algorithm}:
{ "alg" : "HS256" }
@author Vladimir Dzhuvinov
@version $version$ (2014-08-20)