Enum sequoia_openpgp::crypto::mpi::SecretKeyChecksum
source · [−]pub enum SecretKeyChecksum {
SHA1,
Sum16,
}
Expand description
Checksum method for secret key material.
Secret key material may be protected by a checksum. See Section 5.5.3 of RFC 4880 for details.
Variants
SHA1
SHA1 over the decrypted secret key.
Sum16
Sum of the decrypted secret key octets modulo 65536.
Trait Implementations
sourceimpl Clone for SecretKeyChecksum
impl Clone for SecretKeyChecksum
sourcefn clone(&self) -> SecretKeyChecksum
fn clone(&self) -> SecretKeyChecksum
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SecretKeyChecksum
impl Debug for SecretKeyChecksum
sourceimpl Default for SecretKeyChecksum
impl Default for SecretKeyChecksum
sourceimpl Hash for SecretKeyChecksum
impl Hash for SecretKeyChecksum
impl Copy for SecretKeyChecksum
impl Eq for SecretKeyChecksum
impl StructuralEq for SecretKeyChecksum
impl StructuralPartialEq for SecretKeyChecksum
Auto Trait Implementations
impl RefUnwindSafe for SecretKeyChecksum
impl Send for SecretKeyChecksum
impl Sync for SecretKeyChecksum
impl Unpin for SecretKeyChecksum
impl UnwindSafe for SecretKeyChecksum
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more