JSON Web Signature data type. The payload can only be accessed by verifying the JWS.
Parameterised by the signature container type, the header ProtectionIndicator 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.
Use verifyJWS to verify a JWS and extract the payload.
Instances8Eq, Show, FromJSON, ToJSON, FromCompact, ToCompact, …
Eq (t (Signature p a)) => Eq (JWS t p a)Defined in jose-0.11 · Crypto.JOSE.JWSShow (t (Signature p a)) => Show (JWS t p a)Defined in jose-0.11 · Crypto.JOSE.JWS(HasParams a, ProtectionIndicator p) => FromJSON (JWS Identity p a)Defined in jose-0.11 · Crypto.JOSE.JWS(HasParams a, ProtectionIndicator p) => FromJSON (JWS [] p a)Defined in jose-0.11 · Crypto.JOSE.JWS(HasParams a, ProtectionIndicator p) => ToJSON (JWS Identity p a)Defined in jose-0.11 · Crypto.JOSE.JWS(HasParams a, ProtectionIndicator p) => ToJSON (JWS [] p a)Defined in jose-0.11 · Crypto.JOSE.JWSHasParams a => FromCompact (JWS Identity () a)Defined in jose-0.11 · Crypto.JOSE.JWSHasParams a => ToCompact (JWS Identity () a)Defined in jose-0.11 · Crypto.JOSE.JWS