From: Jason Gerfen Date: Sat, 31 Oct 2015 15:24:08 +0000 (-0600) Subject: doc: fix crypto spkac function descriptions X-Git-Tag: v4.2.4~132 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=41fa765da9bb80c7937d71299f354688f5049c18;p=platform%2Fupstream%2Fnodejs.git doc: fix crypto spkac function descriptions Fix regarding description of the following functions: Certificate.exportPublicKey(spkac) Certificate.exportChallenge(spkac) The descriptions were applied incorrectly. PR-URL: https://github.com/nodejs/node/pull/3614 Reviewed-By: Ben Noordhuis --- diff --git a/doc/api/crypto.markdown b/doc/api/crypto.markdown index b4bdd55..b1da678 100644 --- a/doc/api/crypto.markdown +++ b/doc/api/crypto.markdown @@ -673,11 +673,11 @@ Returns true of false based on the validity of the SPKAC. ### Certificate.exportChallenge(spkac) -Exports the encoded public key from the supplied SPKAC. +Exports the encoded challenge associated with the SPKAC. ### Certificate.exportPublicKey(spkac) -Exports the encoded challenge associated with the SPKAC. +Exports the encoded public key from the supplied SPKAC. ## crypto.publicEncrypt(public_key, buffer)