privKey abstract method

Future<PrivateKey?> privKey(
  1. PeerId id
)

PrivKey returns the private key of a peer, if known. Generally this might only be our own private key.

Implementation

Future<PrivateKey?> privKey(PeerId id);