Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Commit

Permalink
doc: fix crypto spkac function descriptions
Browse files Browse the repository at this point in the history
Fix regarding description of the following functions:

Certificate.exportPublicKey(spkac)
Certificate.exportChallenge(spkac)

The descriptions were applied incorrectly.

PR-URL: nodejs/node#3614
Reviewed-By: Ben Noordhuis <[email protected]>
  • Loading branch information
jas- authored and bnoordhuis committed Nov 1, 2015
1 parent b7cc19c commit 9e3aa45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/crypto.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 9e3aa45

Please sign in to comment.