Method SSL.Session()->set_cipher_suite()


Method set_cipher_suite

int set_cipher_suite(int suite, ProtocolVersion version, array(int)|zero signature_algorithms, int max_hash_size)

Description

Sets the proper authentication method and cipher specification for the given parameters.

Parameter suite

The cipher suite to use, selected from the set that the client claims to support.

Parameter version

The SSL protocol version to use.

Parameter signature_algorithms

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

Parameter max_hash_size