Trait ring::signature::VerificationAlgorithm

source ·
pub trait VerificationAlgorithm:
    Debug
    + Sync
    + Sealed {
    // Required method
    fn verify(
        &self,
        public_key: Input<'_>,
        msg: Input<'_>,
        signature: Input<'_>,
    ) -> Result<(), Unspecified>;
}
Expand description

A signature verification algorithm.

Required Methods§

source

fn verify( &self, public_key: Input<'_>, msg: Input<'_>, signature: Input<'_>, ) -> Result<(), Unspecified>

Verify the signature signature of message msg with the public key public_key.

Implementors§