Attaches SSL to an async-io-state that contains a TCP socket.
A function designator for a function with two arguments.
One of the keywords
A symbol or a foreign pointer.
async-io-state-attach-ssl attaches SSL to async-io-state, which must contain a TCP socket, typically the result of create-async-io-state or a state created by accept-tcp-connections-creating-async-io-states. async-io-state must not have SSL attached to it already.
ssl-side, ssl-ctx, ctx-configure-callback, ssl-configure-callback and handshake-timeout are interpreted as described in Keyword arguments for use with SSL. ssl-ctx defaults to
t and ssl-side defaults to
When SSL has been attached successfully or otherwise, callback is called with two arguments: async-io-state and an error-indicator. The error-indicator is
nil when successful, otherwise it is a list of a format control-string and args, suitable for applying to
format. When the error-indicator is non-nil, async-io-state is not attached to SSL.
create-async-io-state-and-connected-tcp-socket and accept-tcp-connections-creating-async-io-states can attach SSL themselves, and in most cases that is the best way to do it.
async-io-state-attach-ssl allows the attachment to be done later.
LispWorks User Guide and Reference Manual - 20 Sep 2017