From 9e3aa451a1e285998d3a46bdeba84fe3e4a9efce Mon Sep 17 00:00:00 2001 From: Jason Gerfen Date: Sat, 31 Oct 2015 09:24:08 -0600 Subject: [PATCH] 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 --- doc/api/crypto.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/crypto.markdown b/doc/api/crypto.markdown index 04d7af6a16..6511cfadc9 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)