Pike v8.0 release 1738

Method SSL.Session()->select_cipher_suite()


Method select_cipher_suite

int select_cipher_suite(array(CertificatePair) certs, array(int) cipher_suites, ProtocolVersion version)

Description

Selects an apropriate certificate, authentication method and cipher suite for the parameters provided by the client.

Parameter certs

The list of CertificatePairs that are applicable to the server_name of this session.

Parameter client_suites

The set of cipher suites that the client claims to support.

Parameter version

The SSL protocol version to use.

Typical client extensions that also are used:

signature_algorithms

The set of signature algorithm tuples that the client claims to support.