Trait ring::signature::VerificationAlgorithm [−][src]
A signature verification algorithm.
Required methods
fn verify(
&self,
public_key: Input<'_>,
msg: Input<'_>,
signature: Input<'_>
) -> Result<(), Unspecified>
[src]
&self,
public_key: Input<'_>,
msg: Input<'_>,
signature: Input<'_>
) -> Result<(), Unspecified>
Verify the signature signature
of message msg
with the public key
public_key
.
Implementors
impl VerificationAlgorithm for EcdsaVerificationAlgorithm
[src]
fn verify(
&self,
public_key: Input<'_>,
msg: Input<'_>,
signature: Input<'_>
) -> Result<(), Unspecified>
[src]
&self,
public_key: Input<'_>,
msg: Input<'_>,
signature: Input<'_>
) -> Result<(), Unspecified>
impl VerificationAlgorithm for EdDSAParameters
[src]
fn verify(
&self,
public_key: Input<'_>,
msg: Input<'_>,
signature: Input<'_>
) -> Result<(), Unspecified>
[src]
&self,
public_key: Input<'_>,
msg: Input<'_>,
signature: Input<'_>
) -> Result<(), Unspecified>