package
0.0.0-20130121074735-1d03baafba06
Repository: https://github.com/icattlecoder/go.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.
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.
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
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.
No description provided by the author
# Structs
A Certificate is a chain of one or more certificates, leaf first.
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.
# Type aliases
ClientAuthType declares the policy the server will follow for TLS Client Authentication.