Enum sequoia_openpgp::crypto::mpi::SecretKeyChecksum [−][src]
pub enum SecretKeyChecksum { SHA1, Sum16, }
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 over the decrypted secret key.
Sum of the decrypted secret key octets modulo 65536.
Trait Implementations
impl Clone for SecretKeyChecksum
[src]
impl Clone for SecretKeyChecksum
[src]fn clone(&self) -> SecretKeyChecksum
[src]
fn clone(&self) -> SecretKeyChecksum
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for SecretKeyChecksum
[src]
impl Debug for SecretKeyChecksum
[src]impl Default for SecretKeyChecksum
[src]
impl Default for SecretKeyChecksum
[src]impl Hash for SecretKeyChecksum
[src]
impl Hash for SecretKeyChecksum
[src]impl PartialEq<SecretKeyChecksum> for SecretKeyChecksum
[src]
impl PartialEq<SecretKeyChecksum> for SecretKeyChecksum
[src]impl Copy for SecretKeyChecksum
[src]
impl Eq for SecretKeyChecksum
[src]
impl StructuralEq for SecretKeyChecksum
[src]
impl StructuralPartialEq for SecretKeyChecksum
[src]
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
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more