The JWS `protected` property is [defined here](https://tools.ietf.org/html/rfc7515#section-3.2) as: ``` "protected", with the value BASE64URL(UTF8(JWS Protected Header)) ``` Compared to the `header` property: ``` "header", with the value JWS Unprotected Header ``` Also see an [example JWS JSON Serialization](https://tools.ietf.org/html/rfc7515#appendix-A.7). This library currently [encodes the `header`](https://github.com/blockstack/jsontokens-js/blob/develop/src/signer.js#L12) and does not support `protected`.
The JWS
protectedproperty is defined here as:Compared to the
headerproperty:Also see an example JWS JSON Serialization.
This library currently encodes the
headerand does not supportprotected.