Extracted from Pike v8.0 release 182 as of 2016-03-26.
   

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).