diff options
author | william <william+macosx@25thandclement.com> | 2015-06-04 18:32:56 -0700 |
---|---|---|
committer | william <william+macosx@25thandclement.com> | 2015-06-04 18:32:56 -0700 |
commit | 0d7b80596ca242ec7476a27c0c3f1bc045f3e016 (patch) | |
tree | e7af7216caa8cd0bc558fb0d996bd666c154982f | |
parent | 5fa11721a7b3dddf5a7e41a164428749a60b7c44 (diff) | |
download | luaossl-0d7b80596ca242ec7476a27c0c3f1bc045f3e016.tar.gz luaossl-0d7b80596ca242ec7476a27c0c3f1bc045f3e016.tar.bz2 luaossl-0d7b80596ca242ec7476a27c0c3f1bc045f3e016.zip |
document new modes to x509:getExtension and crl:getExtension, and new x509:getExtensionCount and crl:getExtensionCount methods
-rw-r--r-- | doc/luaossl.pdf | bin | 287875 -> 288460 bytes | |||
-rw-r--r-- | doc/luaossl.tex | 16 |
2 files changed, 12 insertions, 4 deletions
diff --git a/doc/luaossl.pdf b/doc/luaossl.pdf index a9d03ad..0823b81 100644 --- a/doc/luaossl.pdf +++ b/doc/luaossl.pdf | |||
Binary files differ | |||
diff --git a/doc/luaossl.tex b/doc/luaossl.tex index 80e7a78..de461ba 100644 --- a/doc/luaossl.tex +++ b/doc/luaossl.tex | |||
@@ -530,9 +530,13 @@ Sets the basic constraints critical flag. | |||
530 | 530 | ||
531 | Adds a copy of the \module{x509.extension} object to the certificate. | 531 | Adds a copy of the \module{x509.extension} object to the certificate. |
532 | 532 | ||
533 | \subsubsection[\fn{x509:getExtension}]{\fn{x509:getExtension($name$)}} | 533 | \subsubsection[\fn{x509:getExtension}]{\fn{x509:getExtension($key$)}} |
534 | 534 | ||
535 | Returns a copy of the \module{x509.extension} object identified by $name$, where $name$ is a plain text string of the OID, long name, or short name. Returns $nil$ if no such extension was found. | 535 | Returns a copy of the \module{x509.extension} object identified by $key$ where $key$ is the plain text string of the OID, long name, or short name; or the integer index (1-based) of the extension. Returns nothing if no such extension was found by that name or at that index. |
536 | |||
537 | \subsubsection[\fn{x509:getExtensionCount}]{\fn{x509:getExtensionCount()}} | ||
538 | |||
539 | Returns the integer count of the number of extensions. | ||
536 | 540 | ||
537 | \subsubsection[\fn{x509:isIssuedBy}]{\fn{x509:isIssuedBy($issuer$)}} | 541 | \subsubsection[\fn{x509:isIssuedBy}]{\fn{x509:isIssuedBy($issuer$)}} |
538 | 542 | ||
@@ -664,9 +668,13 @@ Add the certificate identified by $serial$ to the revocation list. $serial$ shou | |||
664 | 668 | ||
665 | Adds a copy of the \module{x509.extension} object to the revocation list. | 669 | Adds a copy of the \module{x509.extension} object to the revocation list. |
666 | 670 | ||
667 | \subsubsection[\fn{crl:getExtension}]{\fn{crl:getExtension($name$)}} | 671 | \subsubsection[\fn{crl:getExtension}]{\fn{crl:getExtension($key$)}} |
672 | |||
673 | Returns a copy of the \module{x509.extension} object identified by $key$ where $key$ is the plain text string of the OID, long name, or short name; or the integer index (1-based) of the extension. Returns nothing if no such extension was found by that name or at that index. | ||
674 | |||
675 | \subsubsection[\fn{crl:getExtensionCount}]{\fn{crl:getExtensionCount()}} | ||
668 | 676 | ||
669 | Returns a copy of the \module{x509.extension} object identified by $name$, where $name$ is a plain text string of the OID, long name, or short name. Returns $nil$ if no such extension was found. | 677 | Returns the integer count of the number of extensions. |
670 | 678 | ||
671 | \subsubsection[\fn{crl:sign}]{\fn{crl:sign($key$)}} | 679 | \subsubsection[\fn{crl:sign}]{\fn{crl:sign($key$)}} |
672 | 680 | ||