Versions in this module Expand all Collapse all v0 v0.0.1 Sep 5, 2023 Changes in this version + var ErrNilKeyGenerator = errors.New("nil key generator") + var ErrNilPrivateKey = errors.New("nil private key") + var ErrNilPublicKey = errors.New("nil public key") + var ErrNilSingleSigner = errors.New("nil single signer") + func ConvertPeerIDToPublicKey(keyGen crypto.KeyGenerator, pid core.PeerID) (crypto.PublicKey, error) + func ConvertPrivateKeyToLibp2pPrivateKey(privateKey crypto.PrivateKey) (libp2pCrypto.PrivKey, error) + func ConvertPublicKeyToPeerID(pk crypto.PublicKey) (core.PeerID, error) + func NewIdentityGenerator() *identityGenerator + func NewP2PSignerWrapper(args ArgsP2pSignerWrapper) (*p2pSignerWrapper, error) + type ArgsP2pSignerWrapper struct + KeyGen crypto.KeyGenerator + PrivateKey crypto.PrivateKey + Signer crypto.SingleSigner