Enum vsmtp_auth::dkim::SigningAlgorithm
pub enum SigningAlgorithm {
RsaSha1,
RsaSha256,
Ed25519Sha256,
}Expand description
Hash & sign algorithm exposed in a DKIM-Signature header. Used by the
expose the algorithm used to verify the message.
Variants§
RsaSha1
Available on crate feature
historic only.The SHA-1 hash function should be considered cryptographically broken and unsuitable for further use in any security critical capacity.
See the implementation https://docs.rs/sha1
RsaSha256
See the implementation https://docs.rs/sha2
Ed25519Sha256
Trait Implementations§
§impl Clone for SigningAlgorithm
impl Clone for SigningAlgorithm
§fn clone(&self) -> SigningAlgorithm
fn clone(&self) -> SigningAlgorithm
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 more§impl Debug for SigningAlgorithm
impl Debug for SigningAlgorithm
§impl Display for SigningAlgorithm
impl Display for SigningAlgorithm
§impl FromStr for SigningAlgorithm
impl FromStr for SigningAlgorithm
§impl PartialEq<SigningAlgorithm> for SigningAlgorithm
impl PartialEq<SigningAlgorithm> for SigningAlgorithm
§fn eq(&self, other: &SigningAlgorithm) -> bool
fn eq(&self, other: &SigningAlgorithm) -> bool
This method tests for
self and other values to be equal, and is used
by ==.