Polish

parent 1fb7edda
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
# See LICENSE # See LICENSE
# #
$Module crypto 3 "Public Key hash verification for Varnish" $Module crypto 3 "Public Key signature generation and verification for Varnish-Cache"
$Prefix vmod $Prefix vmod
DESCRIPTION DESCRIPTION
...@@ -61,7 +61,7 @@ Any error is fatal to vcl initialization. ...@@ -61,7 +61,7 @@ Any error is fatal to vcl initialization.
$Method VOID .pem_privkey(STRING, STRING password=0) $Method VOID .pem_privkey(STRING, STRING password=0)
Create a key from the PEM-encoded private key, optionally decrypting Create a key from the PEM-encoded private key, optionally decrypting
it using `password`. it using _password_.
The cryptographic method to be used and the key length are The cryptographic method to be used and the key length are
automatically determined from _pem_. Typically supported methods automatically determined from _pem_. Typically supported methods
...@@ -109,9 +109,10 @@ $Method BOOL .valid(BLOB signature) ...@@ -109,9 +109,10 @@ $Method BOOL .valid(BLOB signature)
Check if _signature_ is a valid signature for the _verifier_ object Check if _signature_ is a valid signature for the _verifier_ object
given the previous updates. given the previous updates.
Note that after calling .valid(), .update can be called again to add Note that after calling `xverifier.valid()`, `xverifier.update()` can
additional data, which can then be validated against a (different) be called again to add additional data, which can then be validated
signature using another call to .valid(). against a (different) signature using another call to
`xverifier.valid()`.
$Object signer(ENUM {md_null, md4, md5, sha1, sha224, $Object signer(ENUM {md_null, md4, md5, sha1, sha224,
sha256, sha384, sha512, ripemd160, rmd160, whirlpool} digest, sha256, sha384, sha512, ripemd160, rmd160, whirlpool} digest,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment