pub enum OpenReencryptedError {
NoCapsuleFrags,
MismatchedCapsuleFrags,
RepeatingCapsuleFrags,
ValidationFailed,
}Expand description
Errors that can happen when opening a Capsule using reencrypted CapsuleFrag objects.
Variants§
NoCapsuleFrags
An empty capsule fragment list is given.
MismatchedCapsuleFrags
Capsule fragments are mismatched (originated from KeyFrag objects
generated by different generate_kfrags calls).
RepeatingCapsuleFrags
Some of the given capsule fragments are repeated.
ValidationFailed
Internal validation of the result has failed. Can be caused by an incorrect (possibly modified) capsule or some of the capsule fragments.
Trait Implementations§
Source§impl Debug for OpenReencryptedError
impl Debug for OpenReencryptedError
Source§impl Display for OpenReencryptedError
impl Display for OpenReencryptedError
Source§impl PartialEq for OpenReencryptedError
impl PartialEq for OpenReencryptedError
impl Eq for OpenReencryptedError
impl StructuralPartialEq for OpenReencryptedError
Auto Trait Implementations§
impl Freeze for OpenReencryptedError
impl RefUnwindSafe for OpenReencryptedError
impl Send for OpenReencryptedError
impl Sync for OpenReencryptedError
impl Unpin for OpenReencryptedError
impl UnwindSafe for OpenReencryptedError
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