summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorPascal Fellerich <Pascal.Fellerich@ses.com>2017-04-03 14:50:30 +1000
committerdaurnimator <quae@daurnimator.com>2017-04-03 15:52:24 +1000
commit159354a58afda90f213f0858db89dfbd87ae74eb (patch)
tree715a56b84a8ffc3eef660c180067b6284d29b613 /doc
parent12c628ed78384370b9dc30ecb582dfeedd3e8c9a (diff)
downloadluaossl-159354a58afda90f213f0858db89dfbd87ae74eb.tar.gz
luaossl-159354a58afda90f213f0858db89dfbd87ae74eb.tar.bz2
luaossl-159354a58afda90f213f0858db89dfbd87ae74eb.zip
New: pkcs12.parse() added to read a PKCS12 string, and return (pkey,cert,ca)
Diffstat (limited to 'doc')
-rw-r--r--doc/luaossl.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/luaossl.tex b/doc/luaossl.tex
index 86f117d..4f06ecf 100644
--- a/doc/luaossl.tex
+++ b/doc/luaossl.tex
@@ -768,6 +768,10 @@ Add or interpose a store class method. Returns the previous method, if any.
768 768
769Returns a PKCS \#12 binary encoded string. 769Returns a PKCS \#12 binary encoded string.
770 770
771\subsubsection[\fn{pkcs12.parse}]{\fn{pkcs12.parse($bag$[, $passphrase$])}}
772
773Parses a PKCS\#12 bag, presented as a binary string $bag$. The second parameter $passphrase$ is the passphrase required to decrypt the PKCS\#12 bag. The function returns three items; namely the key, certificate and the CA chain, as their respective objects. If an item is absent, it will be substituted with nil.
774
771\end{Module} 775\end{Module}
772 776
773 777