pub enum VerifySignatureError {
InvalidUserSignature {
public_key: PublicKey,
error: Error,
},
FailedSignature1 {
index: u32,
error: Error,
},
FailedSignature2 {
index: u32,
error: Error,
},
MissingUserPublicKey,
}
Expand description
Errors that can happen when verifying the firmware signatures.
Variants§
InvalidUserSignature
The user signed firmware is not valid.
Fields
FailedSignature1
The first signature verification failed.
FailedSignature2
The second signature verification failed.
MissingUserPublicKey
The firmware was signed by the user but no user public key was found.
Trait Implementations§
Source§impl Debug for VerifySignatureError
impl Debug for VerifySignatureError
Source§impl Display for VerifySignatureError
impl Display for VerifySignatureError
Source§impl Error for VerifySignatureError
impl Error for VerifySignatureError
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()
Auto Trait Implementations§
impl Freeze for VerifySignatureError
impl RefUnwindSafe for VerifySignatureError
impl Send for VerifySignatureError
impl Sync for VerifySignatureError
impl Unpin for VerifySignatureError
impl UnwindSafe for VerifySignatureError
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