| 595 | } |
| 596 | |
| 597 | type serverHelloMsg struct { |
| 598 | raw []byte |
| 599 | vers uint16 |
| 600 | random []byte |
| 601 | sessionId []byte |
| 602 | cipherSuite uint16 |
| 603 | compressionMethod uint8 |
| 604 | ocspStapling bool |
| 605 | ticketSupported bool |
| 606 | secureRenegotiationSupported bool |
| 607 | secureRenegotiation []byte |
| 608 | alpnProtocol string |
| 609 | scts [][]byte |
| 610 | supportedVersion uint16 |
| 611 | serverShare keyShare |
| 612 | selectedIdentityPresent bool |
| 613 | selectedIdentity uint16 |
| 614 | supportedPoints []uint8 |
| 615 | |
| 616 | // HelloRetryRequest extensions |
| 617 | cookie []byte |
| 618 | selectedGroup CurveID |
| 619 | } |
| 620 | |
| 621 | func (m *serverHelloMsg) marshal() []byte { |
| 622 | if m.raw != nil { |
nothing calls this directly
no outgoing calls
no test coverage detected