type github.com/libp2p/go-libp2p/core/sec.SecureTransport (interface)

Method Implmentations

ID() protocol.ID *github.com/libp2p/go-libp2p/core/sec/insecure.Transport.ID *github.com/libp2p/go-libp2p/p2p/security/noise.SessionTransport.ID *github.com/libp2p/go-libp2p/p2p/security/noise.Transport.ID *github.com/libp2p/go-libp2p/p2p/security/tls.Transport.ID
SecureInbound(ctx context.Context, insecure net.Conn, p peer.ID) (SecureConn, error) *github.com/libp2p/go-libp2p/core/sec/insecure.Transport.SecureInbound *github.com/libp2p/go-libp2p/p2p/security/noise.SessionTransport.SecureInbound *github.com/libp2p/go-libp2p/p2p/security/noise.Transport.SecureInbound *github.com/libp2p/go-libp2p/p2p/security/tls.Transport.SecureInbound
SecureOutbound(ctx context.Context, insecure net.Conn, p peer.ID) (SecureConn, error) *github.com/libp2p/go-libp2p/core/sec/insecure.Transport.SecureOutbound *github.com/libp2p/go-libp2p/p2p/security/noise.SessionTransport.SecureOutbound *github.com/libp2p/go-libp2p/p2p/security/noise.Transport.SecureOutbound *github.com/libp2p/go-libp2p/p2p/security/tls.Transport.SecureOutbound