var ciphers … var insecureCiphers … func init() { … } // InsecureTLSCiphers returns the cipher suites implemented by crypto/tls which have // security issues. func InsecureTLSCiphers() map[string]uint16 { … } // InsecureTLSCipherNames returns a list of cipher suite names implemented by crypto/tls // which have security issues. func InsecureTLSCipherNames() []string { … } // PreferredTLSCipherNames returns a list of cipher suite names implemented by crypto/tls. func PreferredTLSCipherNames() []string { … } func allCiphers() map[string]uint16 { … } // TLSCipherPossibleValues returns all acceptable cipher suite names. // This is a combination of both InsecureTLSCipherNames() and PreferredTLSCipherNames(). func TLSCipherPossibleValues() []string { … } // TLSCipherSuites returns a list of cipher suite IDs from the cipher suite names passed. func TLSCipherSuites(cipherNames []string) ([]uint16, error) { … } var versions … // TLSPossibleVersions returns all acceptable values for TLS Version. func TLSPossibleVersions() []string { … } // TLSVersion returns the TLS Version ID for the version name passed. func TLSVersion(versionName string) (uint16, error) { … } // DefaultTLSVersion defines the default TLS Version. func DefaultTLSVersion() uint16 { … }