diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/luaossl.pdf | bin | 268918 -> 269289 bytes | |||
-rw-r--r-- | doc/luaossl.tex | 14 |
2 files changed, 13 insertions, 1 deletions
diff --git a/doc/luaossl.pdf b/doc/luaossl.pdf index b015a6a..459a9cc 100644 --- a/doc/luaossl.pdf +++ b/doc/luaossl.pdf | |||
Binary files differ | |||
diff --git a/doc/luaossl.tex b/doc/luaossl.tex index 0675e62..49e8e0e 100644 --- a/doc/luaossl.tex +++ b/doc/luaossl.tex | |||
@@ -394,7 +394,19 @@ Binds the X.509 extension OpenSSL object. | |||
394 | 394 | ||
395 | \subsubsection[\fn{extension.new}]{\fn{extension.new($name$, $value$ [, $data$])}} | 395 | \subsubsection[\fn{extension.new}]{\fn{extension.new($name$, $value$ [, $data$])}} |
396 | 396 | ||
397 | Returns 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$. | 397 | Returns a new X.509 extension. |
398 | If $value$ is the string ``DER'' or ``critical,DER'', then $data$ is an ASN.1-encoded octet string. | ||
399 | 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 either an OpenSSL configuration string defining any referenced identifiers in $value$, or a table with members: | ||
400 | |||
401 | \begin{ctabular}{ l | l | p{8cm} } | ||
402 | field & type:default & description\\\hline | ||
403 | .db & string:$nil$ & OpenSSL configuration string\\ | ||
404 | .issuer & \module{openssl.x509}:$nil$ & issuer certificate\\ | ||
405 | .subject & \module{openssl.x509}:$nil$ & subject certificate\\ | ||
406 | .request & \module{openssl.x509.csr}:$nil$ & certificate signing request\\ | ||
407 | .crl & \module{openssl.x509.crl}:$nil$ & certificate revocation list\\ | ||
408 | .flags & integer:$0$ & a bitwise combination of flags | ||
409 | \end{ctabular} | ||
398 | 410 | ||
399 | \subsubsection[\fn{extension.interpose}]{\fn{extension.interpose($name$, $function$)}} | 411 | \subsubsection[\fn{extension.interpose}]{\fn{extension.interpose($name$, $function$)}} |
400 | 412 | ||