diff options
| author | daurnimator <quae@daurnimator.com> | 2017-04-03 15:53:49 +1000 |
|---|---|---|
| committer | daurnimator <quae@daurnimator.com> | 2017-04-03 15:54:24 +1000 |
| commit | 590d368daeb400515c82b2d99ddcdf14607f9353 (patch) | |
| tree | 02ccfbb791c934f976a21ced2485c10f780d3ac7 /doc | |
| parent | f2f0f09caef1925a4ff731a6feed35b8f355b169 (diff) | |
| parent | 3c49837d05b6fad0f1212a27e81e8ffc868eedfb (diff) | |
| download | luaossl-590d368daeb400515c82b2d99ddcdf14607f9353.tar.gz luaossl-590d368daeb400515c82b2d99ddcdf14607f9353.tar.bz2 luaossl-590d368daeb400515c82b2d99ddcdf14607f9353.zip | |
Merge commit '3c49837d05b6fad0f1212a27e81e8ffc868eedfb'
This contains portions of #90
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/luaossl.pdf | bin | 289975 -> 268918 bytes | |||
| -rw-r--r-- | doc/luaossl.tex | 13 |
2 files changed, 13 insertions, 0 deletions
diff --git a/doc/luaossl.pdf b/doc/luaossl.pdf index 6a20f27..b015a6a 100644 --- a/doc/luaossl.pdf +++ b/doc/luaossl.pdf | |||
| Binary files differ | |||
diff --git a/doc/luaossl.tex b/doc/luaossl.tex index 7db7463..0675e62 100644 --- a/doc/luaossl.tex +++ b/doc/luaossl.tex | |||
| @@ -286,8 +286,13 @@ field & type:default & description\\\hline | |||
| 286 | 286 | ||
| 287 | .exp & number:65537 & RSA or Diffie-Hellman exponent \\ | 287 | .exp & number:65537 & RSA or Diffie-Hellman exponent \\ |
| 288 | 288 | ||
| 289 | .dhparam & string & PEM encoded string with precomputed DH parameters \\ | ||
| 290 | |||
| 289 | .curve & string:prime192v1 & for elliptic curve keys, the OpenSSL string identifier of the curve | 291 | .curve & string:prime192v1 & for elliptic curve keys, the OpenSSL string identifier of the curve |
| 290 | \end{ctabular} | 292 | \end{ctabular} |
| 293 | |||
| 294 | The DH parameters ``dhparam'' will be generated on the fly, ``bits'' wide. This is a slow process, and especially for larger sizes, you would precompute those; for example: ``openssl dhparam -2 -out dh-2048.pem -outform PEM 2048''. Using the field ``dhparam'' overrides the ``bits'' field. | ||
| 295 | |||
| 291 | \subsubsection[\fn{pkey.interpose}]{\fn{pkey.interpose($name$, $function$)}} | 296 | \subsubsection[\fn{pkey.interpose}]{\fn{pkey.interpose($name$, $function$)}} |
| 292 | 297 | ||
| 293 | Add or interpose a pkey class method. Returns the previous method, if any. | 298 | Add or interpose a pkey class method. Returns the previous method, if any. |
| @@ -688,6 +693,10 @@ Returns the integer count of the number of extensions. | |||
| 688 | 693 | ||
| 689 | Signs the instance CRL using the \module{openssl.pkey} $key$. | 694 | Signs the instance CRL using the \module{openssl.pkey} $key$. |
| 690 | 695 | ||
| 696 | \subsubsection[\fn{crl:verify}]{\fn{crl:verify($publickey$)}} | ||
| 697 | |||
| 698 | Verifies the instance CRL using a public key. | ||
| 699 | |||
| 691 | \subsubsection[\fn{crl:text}]{\fn{crl:text()}} | 700 | \subsubsection[\fn{crl:text}]{\fn{crl:text()}} |
| 692 | 701 | ||
| 693 | Returns a human-readable textual representation of the instance CRL. | 702 | Returns a human-readable textual representation of the instance CRL. |
| @@ -763,6 +772,10 @@ Add or interpose a store class method. Returns the previous method, if any. | |||
| 763 | 772 | ||
| 764 | Returns a PKCS \#12 binary encoded string. | 773 | Returns a PKCS \#12 binary encoded string. |
| 765 | 774 | ||
| 775 | \subsubsection[\fn{pkcs12.parse}]{\fn{pkcs12.parse($bag$[, $passphrase$])}} | ||
| 776 | |||
| 777 | Parses 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. | ||
| 778 | |||
| 766 | \end{Module} | 779 | \end{Module} |
| 767 | 780 | ||
| 768 | 781 | ||
