Pike v8.1 release 6

Class SSL.ClientConnection

Inheritance graph
SSL.Connection SSL.ClientConnection
Description

Client-side connection state.


Variable client_cert_types
Variable client_cert_distinguished_names

array(int) SSL.ClientConnection.client_cert_types
array(string(8bit)) SSL.ClientConnection.client_cert_distinguished_names

Description

A few storage variables for client certificate handling on the client side.


Inherit Connection

inherit Connection : Connection


Variable keyshares

mapping(int:Cipher.KeyExchange) SSL.ClientConnection.keyshares

Description

Active key share offers.

NB: Only used with TLS 1.3 and later.


Method create

SSL.ClientConnection SSL.ClientConnection(Context ctx, string(8bit)|void server_name, Session|void session)

Description

Initialize a new ClientConnection.

Parameter ctx

Context to use.

Parameter server_name

Optional host name of the server.

Parameter session

Optional Session to resume.