Pike v8.1 release 6

Method SSL.Cipher.KeyExchange()->client_key_exchange_packet()


Method client_key_exchange_packet

string(8bit) client_key_exchange_packet(Stdio.Buffer packet_data, ProtocolVersion version)

Returns

Returns the premaster secret, and fills in the payload for a HANDSHAKE_client_key_exchange packet in the submitted buffer.

May return 0 (zero) to generate an ALERT_unexpected_message.