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 <info@bnoordhuis.nl>
jas- authored and rvagg committed Nov 6, 2015
1 parent efa19bd commit 7d0b589
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
@@ -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)

0 comments on commit 7d0b589

Please sign in to comment.