[−][src]Trait parsec::PublicId
The public identity of a node. It provides functionality to allow it to be used as an asymmetric signing public key.
Associated Types
type Signature: Clone + Eq + Ord + Hash + Serialize + DeserializeOwned + Debug
[src]
The signature type associated with the chosen asymmetric key scheme.
Required methods
pub fn verify_signature(&self, signature: &Self::Signature, data: &[u8]) -> bool
[src]
Verifies signature
against data
using this PublicId
. Returns true
if valid.