tls

package
v0.0.0-...-375d9ab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

This file has automatically been generated on Wed Feb 26 15:50:24 +05 2020. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CertificateRequestInfoSupportsCertificate

func CertificateRequestInfoSupportsCertificate(cri *tls.CertificateRequestInfo, c *tls.Certificate) error

func CipherSuiteName

func CipherSuiteName(id uint16) string

func CipherSuites

func CipherSuites() []*tls.CipherSuite

func Client

func Client(conn net.Conn, config *tls.Config) *tls.Conn

func ClientHelloInfoSupportsCertificate

func ClientHelloInfoSupportsCertificate(chi *tls.ClientHelloInfo, c *tls.Certificate) error

func ConfigClone

func ConfigClone(c *tls.Config) *tls.Config

func ConnClose

func ConnClose(c *tls.Conn) error

func ConnCloseWrite

func ConnCloseWrite(c *tls.Conn) error

func ConnConnectionState

func ConnConnectionState(c *tls.Conn) tls.ConnectionState

func ConnHandshake

func ConnHandshake(c *tls.Conn) error

func ConnLocalAddr

func ConnLocalAddr(c *tls.Conn) net.Addr

func ConnOCSPResponse

func ConnOCSPResponse(c *tls.Conn) []byte

func ConnRead

func ConnRead(c *tls.Conn, b []byte) (int, error)

func ConnRemoteAddr

func ConnRemoteAddr(c *tls.Conn) net.Addr

func ConnSetDeadline

func ConnSetDeadline(c *tls.Conn, t time.Time) error

func ConnSetReadDeadline

func ConnSetReadDeadline(c *tls.Conn, t time.Time) error

func ConnSetWriteDeadline

func ConnSetWriteDeadline(c *tls.Conn, t time.Time) error

func ConnVerifyHostname

func ConnVerifyHostname(c *tls.Conn, host string) error

func ConnWrite

func ConnWrite(c *tls.Conn, b []byte) (int, error)

func ConnectionStateExportKeyingMaterial

func ConnectionStateExportKeyingMaterial(cs *tls.ConnectionState, label string, context []byte, length int) ([]byte, error)

func Dial

func Dial(network, addr string, config *tls.Config) (*tls.Conn, error)

func DialWithDialer

func DialWithDialer(dialer *net.Dialer, network, addr string, config *tls.Config) (*tls.Conn, error)

func InsecureCipherSuites

func InsecureCipherSuites() []*tls.CipherSuite

func Listen

func Listen(network, laddr string, config *tls.Config) (net.Listener, error)

func NewLRUClientSessionCache

func NewLRUClientSessionCache(capacity int) tls.ClientSessionCache

func NewListener

func NewListener(inner net.Listener, config *tls.Config) net.Listener

func RecordHeaderErrorError

func RecordHeaderErrorError(e tls.RecordHeaderError) string

func Server

func Server(conn net.Conn, config *tls.Config) *tls.Conn

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL