Versions in this module Expand all Collapse all v0 v0.7.1 Aug 16, 2018 v0.5.1 May 31, 2018 Changes in this version + var TLSCipherSuiteMap = map[string]uint16 + var TLSVersionMap = map[string]uint16 + func GetClientTLSConfig(sslConfig *SSLConfig) (*tls.Config, error) + func GetServerTLSConfig(sslConfig *SSLConfig) (*tls.Config, error) + func GetX509CACertPool(caCertFile string) (*x509.CertPool, error) + func LoadTLSCertificate(certFile, keyFile, passphase string, cipher security.Cipher) ([]tls.Certificate, error) + func ParseSSLCipherSuites(ciphers string) ([]uint16, error) + func ParseSSLProtocol(sprotocol string) (uint16, error) + type SSLConfig struct + CAFile string + CertFile string + CertPWDFile string + CipherPlugin string + CipherSuites []uint16 + KeyFile string + MaxVersion uint16 + MinVersion uint16 + VerifyPeer bool