Trait ring::signature::VerificationAlgorithm[][src]

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

A signature verification algorithm.

Required methods

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

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

Loading content...

Implementors

impl VerificationAlgorithm for EcdsaVerificationAlgorithm[src]

impl VerificationAlgorithm for EdDSAParameters[src]

impl VerificationAlgorithm for RsaParameters[src]

Loading content...