pub enum GostError {
InvalidPrivateKey,
InvalidPublicKey,
InvalidSignature,
VerificationFailed,
}Expand description
Errors from GOST signing or verification.
Variants§
InvalidPrivateKey
The signing key was zero or out of range.
InvalidPublicKey
The verification key was not a valid curve point.
InvalidSignature
The signature had the wrong length or an out-of-range component.
VerificationFailed
The signature did not verify.
Trait Implementations§
impl Eq for GostError
impl StructuralPartialEq for GostError
Auto Trait Implementations§
impl Freeze for GostError
impl RefUnwindSafe for GostError
impl Send for GostError
impl Sync for GostError
impl Unpin for GostError
impl UnsafeUnpin for GostError
impl UnwindSafe for GostError
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