aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLibravatarLibravatar daurnimator <quae@daurnimator.com> 2017-04-03 11:01:54 +1000
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2017-04-03 13:27:11 +1000
commit8d91ac802732222ba1b775712543601137d2bf20 (patch)
tree8a6fe937064b08d5ae780980a1addd61fc937144 /doc
parentf2f0f09caef1925a4ff731a6feed35b8f355b169 (diff)
downloadluaossl-8d91ac802732222ba1b775712543601137d2bf20.tar.gz
luaossl-8d91ac802732222ba1b775712543601137d2bf20.tar.bz2
luaossl-8d91ac802732222ba1b775712543601137d2bf20.zip
openssl.ssl.context: Add ctx:setCurvesList
Diffstat (limited to 'doc')
-rw-r--r--doc/luaossl.tex6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/luaossl.tex b/doc/luaossl.tex
index 7db7463..72f4d06 100644
--- a/doc/luaossl.tex
+++ b/doc/luaossl.tex
@@ -883,6 +883,12 @@ Sets the private key \module{openssl.pkey} object $key$ for use during SSL conne
Sets the allowed public key and private key algorithm(s). The string format is documented in the \href{http://www.openssl.org/docs/apps/ciphers.html#CIPHER_LIST_FORMAT}{OpenSSL ciphers(1) utility documentation}.
+\subsubsection[\fn{context:setCurvesList}]{\fn{context:setCurvesList($string$ [, ...])}}
+
+Sets the supported curves. The string format is a list of colon separated curve names similar to \texttt{ctx:setCipherList(...)}. A list of supported curves can be found by running \texttt{openssl ecparam -list\_curves}.
+
+\emph{Only supported since OpenSSL 1.0.2.}
+
\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.