From 12c628ed78384370b9dc30ecb582dfeedd3e8c9a Mon Sep 17 00:00:00 2001 From: Pascal Fellerich Date: Mon, 3 Apr 2017 14:36:45 +1000 Subject: New: pkey.new{} modified to accept 'dhparam', a string representing the pre-computed DH parameters --- doc/luaossl.tex | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'doc') 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. -- cgit v1.2.3-59-g8ed1b