pub enum CryptoError {
KeyGenerationFailed,
CryptoBackend,
InvalidX5Chain,
Unsupported(String),
InvalidPublicKey,
PublicKeyMismatch,
}Expand description
Cryptographic error
Variants§
KeyGenerationFailed
Error that occurs when key generation failed
CryptoBackend
Error that occurs when the cryptographic backend unexpectedly failed
InvalidX5Chain
Error that occurs when the x5chain is invalid
Unsupported(String)
Error that occurs when the signing algorithm is unsupported
InvalidPublicKey
Error that occurs when a public key is incorrectly formatted or otherwise not valid.
PublicKeyMismatch
Trait Implementations§
Source§impl Clone for CryptoError
impl Clone for CryptoError
Source§fn clone(&self) -> CryptoError
fn clone(&self) -> CryptoError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CryptoError
impl Debug for CryptoError
Source§impl Display for CryptoError
impl Display for CryptoError
Source§impl PartialEq for CryptoError
impl PartialEq for CryptoError
impl BhError for CryptoError
impl StructuralPartialEq for CryptoError
Auto Trait Implementations§
impl Freeze for CryptoError
impl RefUnwindSafe for CryptoError
impl Send for CryptoError
impl Sync for CryptoError
impl Unpin for CryptoError
impl UnwindSafe for CryptoError
Blanket Implementations§
Source§impl<E> BhErrorAny for Ewhere
E: BhError,
impl<E> BhErrorAny for Ewhere
E: BhError,
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