DynVerifier

Type Alias DynVerifier 

Source
pub type DynVerifier = Arc<dyn Verifier + Send + Sync + 'static>;
Expand description

Trait-object Verifier.

Aliased Type§

pub struct DynVerifier { /* private fields */ }

Trait Implementations§

Source§

impl Verifier for DynVerifier

Source§

fn verify( &self, agent_info: &AgentInfo, message: &[u8], signature: &[u8], ) -> bool

Verify the provided detached signature over the provided message. Returns true if the signature is valid.