aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorLibravatarLibravatar Ash Berlin <ash_github@firemirror.com> 2016-04-10 22:15:33 +0100
committerLibravatarLibravatar Ash Berlin <ash_github@firemirror.com> 2016-04-11 19:32:33 +0100
commit36277465de786618aa94bc2d33c0ffce5e2102a3 (patch)
treef26631dc3b7eca5157b65c5ad33a00a7aa9a8a37 /doc
parent85bcdb001a5d65ed32087b23ebd802ddba470088 (diff)
downloadluaossl-36277465de786618aa94bc2d33c0ffce5e2102a3.tar.gz
luaossl-36277465de786618aa94bc2d33c0ffce5e2102a3.tar.bz2
luaossl-36277465de786618aa94bc2d33c0ffce5e2102a3.zip
Support for getting and setting SAN on a CSR
Extensions in a CSR are a bit more complex than in a CRL or a certificate itself so we don't quite use the same interface.
Diffstat (limited to 'doc')
-rw-r--r--doc/luaossl.tex8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/luaossl.tex b/doc/luaossl.tex
index 433dd03..7db7463 100644
--- a/doc/luaossl.tex
+++ b/doc/luaossl.tex
@@ -597,6 +597,14 @@ Returns the subject distinguished name as an \module{x509.name} object.
Sets the subject distinguished name. $name$ should be an \module{x509.name} object.
+\subsubsection[\fn{csr:getSubjectAlt}]{\fn{csr:getSubjectAlt()}}
+
+Returns the subject alternative name as an \module{x509.altname} object.
+
+\subsubsection[\fn{csr:setSubjectAlt}]{\fn{csr:setSubjectAlt($name$)}}
+
+Sets the subject alternative names. $name$ should be an \module{x509.altname} object.
+
\subsubsection[\fn{csr:getPublicKey}]{\fn{csr:getPublicKey()}}
Returns the public key component as an \module{openssl.pkey} object.