Skip to main content

VerifySignature

Trait VerifySignature 

Source
pub trait VerifySignature {
    // Required methods
    fn selector(&self) -> &str;
    fn domain(&self) -> &str;
    fn signature(&self) -> &[u8] ;
    fn algorithm(&self) -> Algorithm;

    // Provided method
    fn domain_key(&self) -> String { ... }
}

Required Methods§

Source

fn selector(&self) -> &str

Source

fn domain(&self) -> &str

Source

fn signature(&self) -> &[u8]

Source

fn algorithm(&self) -> Algorithm

Provided Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl VerifySignature for Seal

Source§

impl VerifySignature for mail_auth::arc::Signature

Source§

impl VerifySignature for mail_auth::dkim::Signature