pub enum AtomicCryptoError {
Base64(DecodeError),
InvalidSig,
HmacVerify,
BadDidKey,
}Expand description
Erros de crypto.
Variants§
Base64(DecodeError)
Base64 decoding error.
InvalidSig
Signature verification failed.
HmacVerify
HMAC verification failed.
BadDidKey
did:key payload is malformed.
Trait Implementations§
Source§impl Debug for AtomicCryptoError
impl Debug for AtomicCryptoError
Source§impl Display for AtomicCryptoError
impl Display for AtomicCryptoError
Source§impl Error for AtomicCryptoError
impl Error for AtomicCryptoError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<DecodeError> for AtomicCryptoError
impl From<DecodeError> for AtomicCryptoError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AtomicCryptoError
impl RefUnwindSafe for AtomicCryptoError
impl Send for AtomicCryptoError
impl Sync for AtomicCryptoError
impl Unpin for AtomicCryptoError
impl UnwindSafe for AtomicCryptoError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more