Documentation ¶
Index ¶
- Variables
- func ExchangeIV(conn net.Conn, n int) (iv []byte, err error)
- func NewBlock(method string, key string) (c cipher.Block, err error)
- func NewTlsDialer(CertFile, CertKeyFile, RootCAs, ServerName string) (dialer common.Dialer, err error)
- func NewTlsListener(raw net.Listener, CertFile, CertKeyFile, RootCAs string) (wrapped net.Listener, err error)
- func RecvIV(conn net.Conn, n int) (iv []byte, err error)
- func SentIV(conn net.Conn, n int) (iv []byte, err error)
- func XOR(n int, a []byte, b []byte) (r []byte)
- type CryptConn
- type Dialer
- type Listener
- type TlsDialer
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrLoadPEM = errors.New("certpool: append cert to pem failed")
)
Functions ¶
func NewTlsDialer ¶
func NewTlsListener ¶
Types ¶
type Listener ¶
func NewListener ¶
Click to show internal directories.
Click to hide internal directories.