aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatarLibravatar daurnimator <quae@daurnimator.com> 2017-04-03 17:06:55 +1000
committerLibravatarLibravatar daurnimator <quae@daurnimator.com> 2017-04-03 17:06:55 +1000
commit182dfba3b333c57eccafd7323b47429bdbd77e6d (patch)
treedd86c1ce4b1c5a739e795b3eb682d396866acab1
parente673041ceac11f0ecd173cb85e550fb937e1ebf9 (diff)
downloadluaossl-182dfba3b333c57eccafd7323b47429bdbd77e6d.tar.gz
luaossl-182dfba3b333c57eccafd7323b47429bdbd77e6d.tar.bz2
luaossl-182dfba3b333c57eccafd7323b47429bdbd77e6d.zip
Add docs for x509:getSignatureName
-rw-r--r--doc/luaossl.pdfbin269289 -> 269435 bytes
-rw-r--r--doc/luaossl.tex4
2 files changed, 4 insertions, 0 deletions
diff --git a/doc/luaossl.pdf b/doc/luaossl.pdf
index 459a9cc..a51c46e 100644
--- a/doc/luaossl.pdf
+++ b/doc/luaossl.pdf
Binary files differ
diff --git a/doc/luaossl.tex b/doc/luaossl.tex
index 49e8e0e..0b1b79b 100644
--- a/doc/luaossl.tex
+++ b/doc/luaossl.tex
@@ -571,6 +571,10 @@ Sets the public key component referenced by the \module{openssl.pkey} object $ke
Returns the digest of the public key as a binary string. $type$ is an optional string describing the digest type, and defaults to ``sha1''.
+\subsubsection[\fn{x509:getSignatureName}]{\fn{x509:getSignatureName()}}
+
+Returns the type of signature used to sign the certificate as a string. e.g. ``RSA-SHA1''
+
\subsubsection[\fn{x509:sign}]{\fn{x509:sign($key$ [, $type$])}}
Signs and updates the instance certificate using the \module{openssl.pkey} $key$. $type$ is an optional string describing the digest type. See \module{pkey:sign}, regarding which types of digests are valid. If $type$ is omitted than a default type is used---``sha1'' for RSA keys, ``dss1'' for DSA keys, and ``ecdsa-with-SHA1'' for EC keys.