Skip to content

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: #3614
Reviewed-By: Ben Noordhuis <[email protected]>
  • Loading branch information
jas- authored and jasnell committed Dec 17, 2015
1 parent 0e8eb66 commit 347fb65
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 347fb65

Please sign in to comment.