pub trait SignatureVerifier: Send + Sync {
// Required method
fn verify(&self, rule: &CompiledRule) -> Result<(), RuleError>;
}Expand description
Pluggable signature verifier.
Implementations decide the signature format (Ed25519, RSA-PSS, etc.).
Returning Ok(()) means the rule’s signature field matched the PTX
bytes under the verifier’s policy.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".