From 4da94eb5c92dc5ac7c86bb047a927a014e6bc760 Mon Sep 17 00:00:00 2001 From: daurnimator Date: Wed, 31 Oct 2018 15:30:24 +1100 Subject: Add ssl:setCipherSuites() and context:setCipherSuites() --- doc/luaossl.tex | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'doc') diff --git a/doc/luaossl.tex b/doc/luaossl.tex index 45c2602..b5ae2f6 100644 --- a/doc/luaossl.tex +++ b/doc/luaossl.tex @@ -981,6 +981,12 @@ Sets the supported curves. The string format is a list of colon separated curve \emph{Only supported since OpenSSL 1.0.2.} +\subsubsection[\fn{context:setCipherSuites}]{\fn{context:setCipherSuites($string$ [, ...])}} + +Sets the supported TLS 1.3 cipher suites. The string format is a list of colon separated curve names similar to \texttt{ctx:setCipherList(...)}. + +\emph{Only supported since OpenSSL 1.1.1.} + \subsubsection[\fn{context:setEphemeralKey}]{\fn{context:setEphemeralKey($key$)}} Sets \module{openssl.pkey} object $key$ as the ephemeral key during key exchanges which use that particular key type. Typically $key$ will be either a Diffie-Hellman or Elliptic Curve key. @@ -1225,6 +1231,12 @@ Sets the supported curves for this SSL connection instance. See \fn{openssl.ssl. \emph{Only supported since OpenSSL 1.0.2.} +\subsubsection[\fn{ssl:setCipherSuites}]{\fn{ssl:setCipherSuites($string$ [, ...])}} + +Sets the supported TLS 1.3 cipher suites for this SSL connection instance. See \fn{openssl.ssl.context:setCipherSuites}. + +\emph{Only supported since OpenSSL 1.1.1.} + \subsubsection[\fn{ssl:getAlpnSelected}]{\fn{ssl:getAlpnSelected()}} Returns the negotiated ALPN protocol as a string. -- cgit v1.2.3-59-g8ed1b