Extracted from Pike v7.3 release 45 at 2002-06-04.
pike.roxen.com
[Top]
SSL
SSL.handshake

Class SSL.handshake

Description

SSL.handshake keeps the state relevant for SSL handshaking. This includes a pointer to a context object (which doesn't change), various buffers, a pointer to a session object (reuse or created as appropriate), and pending read and write states being negotiated.

Each connection will have two sets or read and write state: The current read and write states used for encryption, and pending read and write states to be taken into use when the current keyexchange handshake is finished.

Inherits

  • "cipher"

Variable auth_level

int SSL.handshake()->auth_level

Description

Policy for client authentication. One of AUTHLEVEL_none, AUTHLEVEL_ask and AUTHLEVEL_require.


Variable authorities

array(string) SSL.handshake()->authorities

Description

Array of authorities that are accepted for client certificates. The client will only send certificates that are signed by any of these authorities. The string is the DER-encoded issuer.


string SSL.handshake()->client_random
string SSL.handshake()->server_random

Description

Random cookies, sent and received with the hello-messages.