aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLibravatarLibravatar daurnimator <quae@daurnimator.com> 2018-12-07 12:29:48 -0800
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2018-12-07 13:46:36 -0800
commit39a331b41a5a2c96495633e31bc4bbfbe3000f04 (patch)
treeb198ef456468e085a60f72fe9510df35951c6aaa /doc
parent747ddf8a775355b1d41fe36cb5c9b47cd2987b81 (diff)
downloadluaossl-39a331b41a5a2c96495633e31bc4bbfbe3000f04.tar.gz
luaossl-39a331b41a5a2c96495633e31bc4bbfbe3000f04.tar.bz2
luaossl-39a331b41a5a2c96495633e31bc4bbfbe3000f04.zip
src/openssl.c: Add bindings to chain management
Adds support for setting and retrieving intermediate certificates
Diffstat (limited to 'doc')
-rw-r--r--doc/luaossl.tex26
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/luaossl.tex b/doc/luaossl.tex
index 8db0d4e..c63df57 100644
--- a/doc/luaossl.tex
+++ b/doc/luaossl.tex
@@ -967,6 +967,18 @@ Returns the X.509 certificate \module{openssl.x509} object to be sent during SSL
\emph{Only supported since OpenSSL 1.0.2.}
+\subsubsection[\fn{context:setCertificateChain}]{\fn{context:setCertificateChain($chain$)}}
+
+Sets the X.509 certificate chain \module{openssl.x509.chain} object $chain$ to send during SSL connection instance handshakes.
+
+\emph{Only supported since OpenSSL 1.0.2.}
+
+\subsubsection[\fn{context:getCertificateChain}]{\fn{context:getCertificateChain()}}
+
+Returns the X.509 certificate chain \module{openssl.x509.chain} object to be sent during SSL connection instance handshakes.
+
+\emph{Only supported since OpenSSL 1.0.2.}
+
\subsubsection[\fn{context:setPrivateKey}]{\fn{context:setPrivateKey($key$)}}
Sets the private key \module{openssl.pkey} object $key$ for use during SSL connection instance handshakes.
@@ -1171,6 +1183,20 @@ Returns two values: the integer verification result code and the string represen
Sets the X.509 certificate \module{openssl.x509} object $crt$ to send during SSL connection instance handshakes.
See \fn{openssl.ssl.context:setCertificate}.
+\subsubsection[\fn{ssl:setCertificateChain}]{\fn{ssl:setCertificateChain($chain$)}}
+
+Sets the X.509 certificate chain \module{openssl.x509.chain} object $chain$ to send during SSL connection instance handshakes.
+See \fn{openssl.ssl.context:setCertificateChain}.
+
+\emph{Only supported since OpenSSL 1.0.2.}
+
+\subsubsection[\fn{context:getCertificateChain}]{\fn{context:getCertificateChain()}}
+
+Returns the X.509 certificate chain \module{openssl.x509.chain} object to be sent during SSL connection instance handshakes.
+See \fn{openssl.ssl.context:getCertificateChain}.
+
+\emph{Only supported since OpenSSL 1.0.2.}
+
\subsubsection[\fn{ssl:setPrivateKey}]{\fn{ssl:setPrivateKey($key$)}}
Sets the private key \module{openssl.pkey} object $key$ for use during SSL connection instance handshakes.