Versions in this module Expand all Collapse all v0 v0.0.1 Mar 20, 2024 Changes in this version + var ErrNilKeyGenerator = errors.New("nil key generator") + var ErrNilP2PKeyConverter = errors.New("nil key converter") + var ErrNilPrivateKey = errors.New("nil private key") + var ErrNilPublicKey = errors.New("nil public key") + var ErrNilSingleSigner = errors.New("nil single signer") + func ConvertPrivateKeyToLibp2pPrivateKey(privateKey crypto.PrivateKey) (libp2pCrypto.PrivKey, error) + func NewIdentityGenerator(logger p2p.Logger) (*identityGenerator, error) + func NewP2PKeyConverter() *p2pKeyConverter + func NewP2PSignerWrapper(args ArgsP2pSignerWrapper) (*p2pSignerWrapper, error) + type ArgsP2pSignerWrapper struct + KeyGen crypto.KeyGenerator + P2PKeyConverter p2p.P2PKeyConverter + PrivateKey crypto.PrivateKey + Signer crypto.SingleSigner