| 67 | } |
| 68 | |
| 69 | type clientHelloMsg struct { |
| 70 | raw []byte |
| 71 | vers uint16 |
| 72 | random []byte |
| 73 | sessionId []byte |
| 74 | cipherSuites []uint16 |
| 75 | compressionMethods []uint8 |
| 76 | serverName string |
| 77 | ocspStapling bool |
| 78 | supportedCurves []CurveID |
| 79 | supportedPoints []uint8 |
| 80 | ticketSupported bool |
| 81 | sessionTicket []uint8 |
| 82 | supportedSignatureAlgorithms []SignatureScheme |
| 83 | supportedSignatureAlgorithmsCert []SignatureScheme |
| 84 | secureRenegotiationSupported bool |
| 85 | secureRenegotiation []byte |
| 86 | alpnProtocols []string |
| 87 | scts bool |
| 88 | supportedVersions []uint16 |
| 89 | cookie []byte |
| 90 | keyShares []keyShare |
| 91 | earlyData bool |
| 92 | pskModes []uint8 |
| 93 | pskIdentities []pskIdentity |
| 94 | pskBinders [][]byte |
| 95 | } |
| 96 | |
| 97 | func (m *clientHelloMsg) marshal() []byte { |
| 98 | if m.raw != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected