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§
Trait Implementations§
source§impl Clone for SecretKeyChecksum
impl Clone for SecretKeyChecksum
source§fn clone(&self) -> SecretKeyChecksum
fn clone(&self) -> SecretKeyChecksum
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 SecretKeyChecksum
impl Debug for SecretKeyChecksum
source§impl Default for SecretKeyChecksum
impl Default for SecretKeyChecksum
source§impl Hash for SecretKeyChecksum
impl Hash for SecretKeyChecksum
source§impl PartialEq<SecretKeyChecksum> for SecretKeyChecksum
impl PartialEq<SecretKeyChecksum> for SecretKeyChecksum
source§fn eq(&self, other: &SecretKeyChecksum) -> bool
fn eq(&self, other: &SecretKeyChecksum) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.