Trait ed25519_dalek::Verifier [−][src]
Verify the provided message bytestring using Self
(e.g. a public key)
Required methods
pub fn verify(&self, msg: &[u8], signature: &S) -> Result<(), Error>
[src]
Use Self
to verify that the provided signature for a given message
bytestring is authentic.
Returns Error
if it is inauthentic, or otherwise returns ()
.
Implementors
impl Verifier<Signature> for Keypair
[src]
fn verify(
&self,
message: &[u8],
signature: &Signature
) -> Result<(), SignatureError>
[src]
&self,
message: &[u8],
signature: &Signature
) -> Result<(), SignatureError>
Verify a signature on a message with this keypair’s public key.