package
0.41.0
Repository: https://github.com/libp2p/go-libp2p.git
Documentation: pkg.go.dev

# Packages

# Functions

GenerateSignedExtension uses the provided private key to sign the public key, and returns the signature within a pkix.Extension.
New creates a TLS encrypted transport.
NewIdentity creates a new identity.
PubKeyFromCertChain verifies the certificate chain and extract the remote's public key.
WithCertTemplate specifies the template to use when generating a new certificate.
WithKeyLogWriter optionally specifies a destination for TLS master secrets in NSS key log format that can be used to allow external programs such as Wireshark to decrypt TLS connections.

# Constants

ID is the protocol ID (used when negotiating with multistream).

# Structs

Identity is used to secure connections.
IdentityConfig is used to configure an Identity.
Transport constructs secure communication sessions for a peer.

# Type aliases

IdentityOption transforms an IdentityConfig to apply optional settings.