Extracted from Pike v8.0 release 164 as of 2016-04-05.
   

Method SSL.state()->encrypt_packet()


Method encrypt_packet

Alert|.packet encrypt_packet(.packet packet, ProtocolVersion version)

Description

Encrypts a packet (including deflating and MAC-generation).