Skip to content

Commit b972a03

Browse files
committed
doc/luaossl.tex: Document new ssl:set*Store methods
1 parent fb57ac8 commit b972a03

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

doc/luaossl.tex

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,6 +1005,24 @@ \section{Modules}
10051005

10061006
Clears the option flags of the SSL connection instance. See \fn{openssl.ssl.context:clearOptions}.
10071007

1008+
\subsubsection[\fn{ssl:setStore}]{\fn{ssl:setStore($store$)}}
1009+
1010+
Associate the \module{openssl.x509.store} object $store$ with $ssl$ for both verification and chain building. Replaces any existing stores.
1011+
1012+
\emph{Only supported since OpenSSL 1.0.2.}
1013+
1014+
\subsubsection[\fn{ssl:setChainStore}]{\fn{ssl:setChainStore($store$)}}
1015+
1016+
Associate the \module{openssl.x509.store} object $store$ with $ssl$ for chain building. Replaces any existing store.
1017+
1018+
\emph{Only supported since OpenSSL 1.0.2.}
1019+
1020+
\subsubsection[\fn{ssl:setVerifyStore}]{\fn{ssl:setVerifyStore($store$)}}
1021+
1022+
Associate the \module{openssl.x509.store} object $store$ with $ssl$ for verification. Replaces any existing store.
1023+
1024+
\emph{Only supported since OpenSSL 1.0.2.}
1025+
10081026
\subsubsection[\fn{ssl:setVerify}]{\fn{ssl:setVerify([$mode$][, $depth$])}}
10091027

10101028
Sets the verification mode flags and maximum validation chain depth.

0 commit comments

Comments
 (0)