Expand description
Signature-related code
Structs§
- Signature
- 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. - Signing
Error - An error during signing of a message.