Safe Haskell | None |
---|
JOSE error types.
Documentation
All the errors that can occur, with the notable exception of
Aeson
decoding functions. Aeson decoding errors that
occur in decodeCompact
are, however, lifted into this type
via the JSONDecodeError
constructor.
AlgorithmNotImplemented | A requested algorithm is not implemented |
AlgorithmMismatch String | A requested algorithm cannot be used |
KeyMismatch String | Wrong type of key was given |
KeySizeTooSmall | Key size is too small |
RSAError Error | RSA encryption, decryption or signing error |
CompactEncodeError String | Cannot produce compact representation of data |
CompactDecodeError String | Cannot decode compact representation |
JSONDecodeError String | Cannot decode JSON data |