pub trait SignatureVerifier {
// Required method
fn verify(&self, artifact: &StagedArtifact) -> bool;
}Expand description
Verifies the ed25519 signature over a staged artifact.
The contract is a plain yes/no: true iff the signature over
StagedArtifact::signed_bytes verifies against a trusted key. A false
return means the bundle is refused and never applied. Keeping the answer a
boolean lets a foundation crate run the interlock without depending on the
signing crate — production wraps the project’s ed25519 verify here.
Required Methods§
Sourcefn verify(&self, artifact: &StagedArtifact) -> bool
fn verify(&self, artifact: &StagedArtifact) -> bool
Whether artifact’s signature verifies against a trusted key.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".