From e9a1dd7930c89917a46ead39390424366ab7f87b Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Mon, 28 Mar 2011 15:59:41 -0700 Subject: [PATCH] Typo in docs Thanks to Anatoliy Chakkaev for pointing it out. Closes GH-841. --- doc/api/crypto.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/crypto.markdown b/doc/api/crypto.markdown index af8bd58fca4..702a9c32f7e 100644 --- a/doc/api/crypto.markdown +++ b/doc/api/crypto.markdown @@ -124,7 +124,7 @@ This can be called many times with new data as it is streamed. ### verifier.verify(cert, signature, signature_format='binary') Verifies the signed data by using the `cert` which is a string containing -the PEM encoded public key, and `signature`, which is the previously calculates +the PEM encoded certificate, and `signature`, which is the previously calculates signature for the data, in the `signature_format` which can be `'binary'`, `'hex'` or `'base64'`. Returns true or false depending on the validity of the signature for the data and public key.