Browse Source

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 <info@bnoordhuis.nl>
process-exit-stdio-flushing
Jason Gerfen 9 years ago
committed by Ben Noordhuis
parent
commit
9e3aa451a1
  1. 4
      doc/api/crypto.markdown

4
doc/api/crypto.markdown

@ -673,11 +673,11 @@ Returns true of false based on the validity of the SPKAC.
### Certificate.exportChallenge(spkac) ### Certificate.exportChallenge(spkac)
Exports the encoded public key from the supplied SPKAC. Exports the encoded challenge associated with the SPKAC.
### Certificate.exportPublicKey(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) ## crypto.publicEncrypt(public_key, buffer)

Loading…
Cancel
Save