.tlsdeinit Method

Function:

For the currently selected socket (selection is made through sock.num), de-initializes the TLS encryption.

Syntax:

sock.tlsdeinit() as accepted_rejected

Returns:

One of accepted_rejected constants:

  • 0 — ACCEPTED.
  • 1 — REJECTED.

See Also:

Transport Layer Security (TLS), Closing Secure Connections, Closing Connections, sock.tlsinit


Details

It is recommended that the socket's TCP connection be closed (that is, sock.state is at PL_SST_CLOSED) before this method is called.


REJECTED can only be returned under two circumstances:


.tlsdeinit Method

Details