pub enum InvalidSig {
InvalidData,
InvalidPubkey,
InvalidSig,
UnsupportedAlgo(u8),
}
Variants§
InvalidData
invalid signature data.
InvalidPubkey
invalid identity public key.
InvalidSig
signature doesn’t match the given identity and a message.
UnsupportedAlgo(u8)
can’t verify signature - unsupported signature method {0}.
Trait Implementations§
Source§impl Clone for InvalidSig
impl Clone for InvalidSig
Source§fn clone(&self) -> InvalidSig
fn clone(&self) -> InvalidSig
Returns a copy 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 InvalidSig
impl Debug for InvalidSig
Source§impl Display for InvalidSig
impl Display for InvalidSig
Source§impl Error for InvalidSig
impl Error for InvalidSig
1.30.0 · 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<InvalidPubkey> for InvalidSig
impl From<InvalidPubkey> for InvalidSig
Source§fn from(v: InvalidPubkey) -> Self
fn from(v: InvalidPubkey) -> Self
Converts to this type from the input type.
Source§impl From<InvalidSig> for SsiParseError
impl From<InvalidSig> for SsiParseError
Source§fn from(v: InvalidSig) -> Self
fn from(v: InvalidSig) -> Self
Converts to this type from the input type.
Source§impl From<InvalidSig> for String
impl From<InvalidSig> for String
Source§fn from(err: InvalidSig) -> Self
fn from(err: InvalidSig) -> Self
Converts to this type from the input type.
Source§impl From<InvalidSig> for VerifyError
impl From<InvalidSig> for VerifyError
Source§fn from(v: InvalidSig) -> Self
fn from(v: InvalidSig) -> Self
Converts to this type from the input type.
Source§impl Hash for InvalidSig
impl Hash for InvalidSig
Source§impl PartialEq for InvalidSig
impl PartialEq for InvalidSig
impl Copy for InvalidSig
impl Eq for InvalidSig
impl StructuralPartialEq for InvalidSig
Auto Trait Implementations§
impl Freeze for InvalidSig
impl RefUnwindSafe for InvalidSig
impl Send for InvalidSig
impl Sync for InvalidSig
impl Unpin for InvalidSig
impl UnwindSafe for InvalidSig
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