aboutsummaryrefslogtreecommitdiffstats
path: root/doc/luaossl.tex
diff options
context:
space:
mode:
authorLibravatarLibravatar daurnimator <quae@daurnimator.com> 2018-10-31 15:30:24 +1100
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2018-10-31 15:33:18 +1100
commit4da94eb5c92dc5ac7c86bb047a927a014e6bc760 (patch)
treed6ce9b4a846b4392c8f2bd87167ba0d434b0fdd6 /doc/luaossl.tex
parentb52f98282470289cdd94aca46882347e35cb17a3 (diff)
downloadluaossl-4da94eb5c92dc5ac7c86bb047a927a014e6bc760.tar.gz
luaossl-4da94eb5c92dc5ac7c86bb047a927a014e6bc760.tar.bz2
luaossl-4da94eb5c92dc5ac7c86bb047a927a014e6bc760.zip
Add ssl:setCipherSuites() and context:setCipherSuites()
Diffstat (limited to 'doc/luaossl.tex')
-rw-r--r--doc/luaossl.tex12
1 files changed, 12 insertions, 0 deletions
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.