pub trait Verifying: Debug{
type Signature;
// Required methods
fn verify(&self, data: impl Read, signature: &[u8]) -> Result<(), Error>;
fn algorithm(&self) -> AlgorithmType;
}
Expand description
Verification trait to be implement for RPM signature verification.
Required Associated Types§
Required Methods§
fn verify(&self, data: impl Read, signature: &[u8]) -> Result<(), Error>
fn algorithm(&self) -> AlgorithmType
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl<T> Verifying for PhantomData<T>
impl<T> Verifying for PhantomData<T>
Implement unreachable verifier for the empty tuple()