Module sc_network::service::signature
source · Expand description
Signature-related code
Structs§
- A result of signing a message with a network identity. Since
PeerId
is potentially a hash of aPublicKey
, you need to reveal thePublicKey
next 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.