From 36277465de786618aa94bc2d33c0ffce5e2102a3 Mon Sep 17 00:00:00 2001 From: Ash Berlin Date: Sun, 10 Apr 2016 22:15:33 +0100 Subject: 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. --- doc/luaossl.tex | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'doc') 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. -- cgit v1.2.3-59-g8ed1b