Pike v8.1 release 6

Method SSL.handshake()->create()


Method create

SSL.handshake SSL.handshake(int is_server, void|SSL.context ctx, void|ProtocolVersion min_version, void|ProtocolVersion max_version)

Parameter is_server

Whether this is the server end of the connection or not.

Parameter ctx

The context for the connection.

Parameter min_version

Minimum version of SSL to support. Defaults to Constants.PROTOCOL_SSL_3_0.

Parameter max_version

Maximum version of SSL to support. Defaults to Constants.PROTOCOL_minor.