package
1.6.5
Repository: https://github.com/cloudflare/cfssl.git
Documentation: pkg.go.dev

# Functions

Client returns a new TLS client side connection using conn as the underlying transport.
Dial connects to the given network address using net.Dial and then initiates a TLS handshake, returning the resulting TLS connection.
DialWithDialer connects to the given network address using dialer.Dial and then initiates a TLS handshake, returning the resulting TLS connection.
Listen creates a TLS listener accepting connections on the given network address using net.Listen.
LoadX509KeyPair reads and parses a public/private key pair from a pair of files.
NewListener creates a Listener which accepts connections from an inner Listener and wraps each connection with Server.
NewLRUClientSessionCache returns a ClientSessionCache with the given capacity that uses an LRU strategy.
Server returns a new TLS server side connection using conn as the underlying transport.
X509KeyPair parses a public/private key pair from a pair of PEM encoded data.

# Constants

Signature algorithms for TLS 1.2 (See RFC 5246, section A.4.1).
Signature algorithms for TLS 1.2 (See RFC 5246, section A.4.1).
Signature algorithms for TLS 1.2 (See RFC 5246, section A.4.1).
Signature algorithms for TLS 1.2 (See RFC 5246, section A.4.1).
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
TLS_FALLBACK_SCSV isn't a standard cipher suite but an indicator that the client is doing version fallback.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.
A list of the possible cipher suite ids.

# Variables

AllSignatureAndHashAlgorithms contains all possible signature and hash algorithm pairs that the can be advertised in a TLS 1.2 ClientHello.
CipherSuites contains all values in the TLS Cipher Suite Registry https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml.
TLSVersions is a list of the current SSL/TLS Versions implemented by Go.

# Structs

A Certificate is a chain of one or more certificates, leaf first.
CipherSuite describes an individual cipher suite, with long and short names and security properties.
ClientHelloInfo contains information from a ClientHello message in order to guide certificate selection in the GetCertificate callback.
ClientSessionState contains the state needed by clients to resume TLS sessions.
A Config structure is used to configure a TLS client or server.
A Conn represents a secured connection.
ConnectionState records basic TLS details about the connection.
RecordHeaderError results when a TLS record header is invalid.
SignatureAndHash mirrors the TLS 1.2, SignatureAndHashAlgorithm struct.

# Interfaces

ClientSessionCache is a cache of ClientSessionState objects that can be used by a client to resume a TLS session with a given server.

# Type aliases

ClientAuthType declares the policy the server will follow for TLS Client Authentication.
CurveID is the type of a TLS identifier for an elliptic curve.