| 717 | } |
| 718 | |
| 719 | type serverHelloMsg struct { |
| 720 | original []byte |
| 721 | vers uint16 |
| 722 | random []byte |
| 723 | sessionId []byte |
| 724 | cipherSuite uint16 |
| 725 | compressionMethod uint8 |
| 726 | ocspStapling bool |
| 727 | ticketSupported bool |
| 728 | secureRenegotiationSupported bool |
| 729 | secureRenegotiation []byte |
| 730 | extendedMasterSecret bool |
| 731 | alpnProtocol string |
| 732 | scts [][]byte |
| 733 | supportedVersion uint16 |
| 734 | serverShare keyShare |
| 735 | selectedIdentityPresent bool |
| 736 | selectedIdentity uint16 |
| 737 | supportedPoints []uint8 |
| 738 | encryptedClientHello []byte |
| 739 | serverNameAck bool |
| 740 | |
| 741 | // HelloRetryRequest extensions |
| 742 | cookie []byte |
| 743 | selectedGroup CurveID |
| 744 | } |
| 745 | |
| 746 | func (m *serverHelloMsg) marshal() ([]byte, error) { |
| 747 | var exts cryptobyte.Builder |
nothing calls this directly
no outgoing calls
no test coverage detected