Expand description
Contains error types used across this crate.
Structs§
- TryFrom
Cbor MapError - Error type used when a given CBOR map can’t be converted to a specific type which implements
the
ToCborMaptrait. - Value
IsNot Integer Error - Error type used when a CBOR map does not use integers as its key type, but was expected to.
- Wrong
Source Type Error - Error type used when the parameter of the type
Tcouldn’t be converted intoexpected_typebecause the received type wasactual_typeinstead.
Enums§
- Access
Token Error - Error type used when an operation creating or receiving an access token failed.
- Cose
Cipher Error - Error type used when a
CoseEncryptCipher,CoseSignCipher, orCoseMacCipher. fails to perform an operation. - Invalid
AifEncoded Scope Error - Error type used when an
AifEncodedScopedoes not conform to the specification given in RFC 6749 and RFC 9237. - Invalid
Binary Encoded Scope Error - Error type used when a
BinaryEncodedScopedoes not conform to the specification given in RFC 6749 and RFC 9200. - Invalid
Text Encoded Scope Error - Error type used when a
TextEncodedScopedoes not conform to the specification given in RFC 6749. - Multiple
Cose Error - Error type used when a token for multiple recipients (i.e.,
CoseEncrypt) is decrypted. - Scope
From Value Error - Error type when a
Valuecan’t be converted to a Scope.