Module sc_network::service::signature
source · Expand description
Signature-related code
Structs§
- A result of signing a message with a network identity. Since
PeerIdis potentially a hash of aPublicKey, you need to reveal thePublicKeynext to the signature, so the verifier can check if the signature was made by the entity that controls a givenPeerId. - An error during signing of a message.
Enums§
- Keypair.
- Public key.