Trait network_clique::crypto::PublicKey
source · pub trait PublicKey: Send + Sync + Eq + Clone + AsRef<[u8]> + Display + Hash + Codec + 'static {
type Signature: Send + Sync + Clone + Codec;
// Required method
fn verify(&self, message: &[u8], signature: &Self::Signature) -> bool;
}
Expand description
A public key for signature verification.
Required Associated Types§
Required Methods§
Object Safety§
This trait is not object safe.