From 41fa765da9bb80c7937d71299f354688f5049c18 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 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) -- 2.7.4