Method SSL.ClientConnection()->handle_handshake()
- Method
handle_handshake
int(-1..1)handle_handshake(inttype,Bufferinput,Stdio.Bufferraw)- Description
Do handshake processing.
- Parameter
type One of HANDSHAKE_*.
- Parameter
input The contents of the packet.
- Parameter
raw The raw packet received (needed for supporting SSLv2 hello messages).
- Returns
This function returns:
0If handshaking is in progress.
1If handshaking has completed.
-1If a fatal error occurred.
It uses the send_packet() function to transmit packets.