Documentation ¶
Overview ¶
Deprecated: This package has moved into go-libp2p as a sub-package: github.com/libp2p/go-libp2p/core/sec.
Package sec provides secure connection and transport interfaces for libp2p.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SecureConn ¶
type SecureConn = sec.SecureConn
SecureConn is an authenticated, encrypted connection. Deprecated: use github.com/libp2p/go-libp2p/core/sec.SecureConn instead
type SecureMuxer ¶ added in v0.7.1
type SecureMuxer = sec.SecureMuxer
A SecureMuxer is a wrapper around SecureTransport which can select security protocols and open outbound connections with simultaneous open. Deprecated: use github.com/libp2p/go-libp2p/core/sec.SecureMuxer instead
type SecureTransport ¶
type SecureTransport = sec.SecureTransport
A SecureTransport turns inbound and outbound unauthenticated, plain-text, native connections into authenticated, encrypted connections. Deprecated: use github.com/libp2p/go-libp2p/core/sec.SecureTransport instead