aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLibravatarLibravatar Pascal Fellerich <Pascal.Fellerich@ses.com> 2017-04-03 14:36:45 +1000
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2017-04-03 15:52:21 +1000
commit12c628ed78384370b9dc30ecb582dfeedd3e8c9a (patch)
tree65ec39df3d475d90aa93dc91c831bfcdd561a5d5 /doc
parentf2f0f09caef1925a4ff731a6feed35b8f355b169 (diff)
downloadluaossl-12c628ed78384370b9dc30ecb582dfeedd3e8c9a.tar.gz
luaossl-12c628ed78384370b9dc30ecb582dfeedd3e8c9a.tar.bz2
luaossl-12c628ed78384370b9dc30ecb582dfeedd3e8c9a.zip
New: pkey.new{} modified to accept 'dhparam', a string representing the pre-computed DH parameters
Diffstat (limited to 'doc')
-rw-r--r--doc/luaossl.tex5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/luaossl.tex b/doc/luaossl.tex
index 7db7463..86f117d 100644
--- a/doc/luaossl.tex
+++ b/doc/luaossl.tex
@@ -286,8 +286,13 @@ field & type:default & description\\\hline
.exp & number:65537 & RSA or Diffie-Hellman exponent \\
+.dhparam & string & PEM encoded string with precomputed DH parameters \\
+
.curve & string:prime192v1 & for elliptic curve keys, the OpenSSL string identifier of the curve
\end{ctabular}
+
+The DH parameters ``dhparam'' will be generated on the fly, ``bits'' wide. This is a slow process, and especially for larger sizes, you would precompute those; for example: ``openssl dhparam -2 -out dh-2048.pem -outform PEM 2048''. Using the field ``dhparam'' overrides the ``bits'' field.
+
\subsubsection[\fn{pkey.interpose}]{\fn{pkey.interpose($name$, $function$)}}
Add or interpose a pkey class method. Returns the previous method, if any.