[Top]
SSL
SSL.handshake
|
Method SSL.handshake()->handle_handshake()
- Method
handle_handshake
int(-1..1) handle_handshake(int type, string data, string raw)
- Description
Do handshake processing. Type is one of HANDSHAKE_*, data is the
contents of the packet, and raw is the raw packet received (needed
for supporting SSLv2 hello messages).
This function returns 0 if hadshake is in progress, 1 if handshake
is finished, and -1 if a fatal error occurred. It uses the
send_packet() function to transmit packets.
|