CipherSuite is a TLS cipher suite. Note that most functions in this package accept and expose cipher suite IDs instead of this type.
| 24 | // CipherSuite is a TLS cipher suite. Note that most functions in this package |
| 25 | // accept and expose cipher suite IDs instead of this type. |
| 26 | type CipherSuite struct { |
| 27 | ID uint16 |
| 28 | Name string |
| 29 | |
| 30 | // Supported versions is the list of TLS protocol versions that can |
| 31 | // negotiate this cipher suite. |
| 32 | SupportedVersions []uint16 |
| 33 | |
| 34 | // Insecure is true if the cipher suite has known security issues |
| 35 | // due to its primitives, design, or implementation. |
| 36 | Insecure bool |
| 37 | } |
| 38 | |
| 39 | var ( |
| 40 | supportedUpToTLS12 = []uint16{VersionTLS10, VersionTLS11, VersionTLS12} |
nothing calls this directly
no outgoing calls
no test coverage detected