JSON Web Signature data type.
Parameterised by the signature container type, the header ProtectionSupport type, and the header record type.
Use encode and decode to convert a JWS to or from JSON.
When encoding a JWS [] with exactly one signature, the
flattened JWS JSON serialisation syntax is used, otherwise
the general JWS JSON serialisation is used.
When decoding a JWS [] either serialisation is accepted.
JWS Identity uses the flattened JSON serialisation
or the JWS compact serialisation (see decodeCompact and
encodeCompact).
Use signJWS to create a signed/MACed JWS.
Instances8Eq, Show, FromJSON, ToJSON, FromCompact, ToCompact, …
Eq (t (Signature p a)) => Eq (JWS t p a)Defined in jose-0.13 · Crypto.JOSE.JWSShow (t (Signature p a)) => Show (JWS t p a)Defined in jose-0.13 · Crypto.JOSE.JWS(HasParams a, ProtectionSupport p) => FromJSON (JWS Identity p a)Defined in jose-0.13 · Crypto.JOSE.JWS(HasParams a, ProtectionSupport p) => FromJSON (JWS [] p a)Defined in jose-0.13 · Crypto.JOSE.JWS(HasParams a, ProtectionSupport p) => ToJSON (JWS Identity p a)Defined in jose-0.13 · Crypto.JOSE.JWS(HasParams a, ProtectionSupport p) => ToJSON (JWS [] p a)Defined in jose-0.13 · Crypto.JOSE.JWSHasParams a => FromCompact (JWS Identity RequiredProtection a)Defined in jose-0.13 · Crypto.JOSE.JWSHasParams a => ToCompact (JWS Identity RequiredProtection a)Defined in jose-0.13 · Crypto.JOSE.JWS