tlslite.handshakehelpers module

Class with various handshake helpers.

class tlslite.handshakehelpers.HandshakeHelpers

Bases: object

This class encapsulates helper functions to be used with a TLS handshake.

static alignClientHelloPadding(clientHello)

Align ClientHello using the Padding extension to 512 bytes at least.

Parameters:clientHello (ClientHello) – ClientHello to be aligned