| 69 | } |
| 70 | |
| 71 | type clientHelloMsg struct { |
| 72 | original []byte |
| 73 | vers uint16 |
| 74 | random []byte |
| 75 | sessionId []byte |
| 76 | cipherSuites []uint16 |
| 77 | compressionMethods []uint8 |
| 78 | serverName string |
| 79 | ocspStapling bool |
| 80 | supportedCurves []CurveID |
| 81 | supportedPoints []uint8 |
| 82 | ticketSupported bool |
| 83 | sessionTicket []uint8 |
| 84 | supportedSignatureAlgorithms []SignatureScheme |
| 85 | supportedSignatureAlgorithmsCert []SignatureScheme |
| 86 | secureRenegotiationSupported bool |
| 87 | secureRenegotiation []byte |
| 88 | extendedMasterSecret bool |
| 89 | alpnProtocols []string |
| 90 | scts bool |
| 91 | supportedVersions []uint16 |
| 92 | cookie []byte |
| 93 | keyShares []keyShare |
| 94 | earlyData bool |
| 95 | pskModes []uint8 |
| 96 | pskIdentities []pskIdentity |
| 97 | pskBinders [][]byte |
| 98 | quicTransportParameters []byte |
| 99 | encryptedClientHello []byte |
| 100 | // extensions are only populated on the server-side of a handshake |
| 101 | extensions []uint16 |
| 102 | } |
| 103 | |
| 104 | func (m *clientHelloMsg) marshalMsg(echInner bool) ([]byte, error) { |
| 105 | var exts cryptobyte.Builder |
nothing calls this directly
no outgoing calls
no test coverage detected