summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/luaossl.tex14
1 files changed, 13 insertions, 1 deletions
diff --git a/doc/luaossl.tex b/doc/luaossl.tex
index 7db7463..5165b18 100644
--- a/doc/luaossl.tex
+++ b/doc/luaossl.tex
@@ -389,7 +389,19 @@ Binds the X.509 extension OpenSSL object.
389 389
390\subsubsection[\fn{extension.new}]{\fn{extension.new($name$, $value$ [, $data$])}} 390\subsubsection[\fn{extension.new}]{\fn{extension.new($name$, $value$ [, $data$])}}
391 391
392Returns a new X.509 extension. If $value$ is the string ``DER'' or ``critical,DER'', then $data$ is an ASN.1-encoded octet string. Otherwise, $name$ and $value$ are plain text strings in \href{https://www.openssl.org/docs/apps/x509v3_config.html#ARBITRARY_EXTENSIONS}{OpenSSL's arbitrary extension format}; and if specified, $data$ is an OpenSSL configuration string defining any referenced identifiers in $value$. 392Returns a new X.509 extension.
393If $value$ is the string ``DER'' or ``critical,DER'', then $data$ is an ASN.1-encoded octet string.
394Otherwise, $name$ and $value$ are plain text strings in \href{https://www.openssl.org/docs/apps/x509v3_config.html#ARBITRARY_EXTENSIONS}{OpenSSL's arbitrary extension format}; and if specified, $data$ is either an OpenSSL configuration string defining any referenced identifiers in $value$, or a table with members:
395
396\begin{ctabular}{ l | l | p{8cm} }
397field & type:default & description\\\hline
398.db & string:$nil$ & OpenSSL configuration string\\
399.issuer & \module{openssl.x509}:$nil$ & issuer certificate\\
400.subject & \module{openssl.x509}:$nil$ & subject certificate\\
401.request & \module{openssl.x509.csr}:$nil$ & certificate signing request\\
402.crl & \module{openssl.x509.crl}:$nil$ & certificate revocation list\\
403.flags & integer:$0$ & a bitwise combination of flags
404\end{ctabular}
393 405
394\subsubsection[\fn{extension.interpose}]{\fn{extension.interpose($name$, $function$)}} 406\subsubsection[\fn{extension.interpose}]{\fn{extension.interpose($name$, $function$)}}
395 407