Documentation
¶
Index ¶
Constants ¶
View Source
const ( VersionSSL30 = 0x0300 VersionTLS10 = 0x0301 VersionTLS11 = 0x0302 VersionTLS12 = 0x0303 )
Variables ¶
View Source
var CipherSuites = []CipherSuite{}/* 326 elements not displayed */
View Source
var ProtocolVersions = []ProtocolVersion{ {ID: VersionSSL30, Name: "VersionSSL30"}, {ID: VersionTLS10, Name: "VersionTLS10"}, {ID: VersionTLS11, Name: "VersionTLS11"}, {ID: VersionTLS12, Name: "VersionTLS12"}, }
Functions ¶
Types ¶
type CipherSuite ¶
type Conn ¶
type Conn struct {
// contains filtered or unexported fields
}
A Conn represents a secured connection. It implements the net.Conn interface.
type CurveID ¶
type CurveID uint16
CurveID is the type of a TLS identifier for an elliptic curve. See http://www.iana.org/assignments/tls-parameters/tls-parameters.xml#tls-parameters-8
type ProtocolVersion ¶
type RecordHeaderError ¶
type RecordHeaderError struct { // Msg contains a human readable string that describes the error. Msg string // RecordHeader contains the five bytes of TLS record header that // triggered the error. RecordHeader [5]byte }
RecordHeaderError results when a TLS record header is invalid.
func (RecordHeaderError) Error ¶
func (e RecordHeaderError) Error() string
Click to show internal directories.
Click to hide internal directories.