Skip to content

Commit 7d0b589

Browse files
jas-rvagg
authored andcommitted
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: #3614 Reviewed-By: Ben Noordhuis <[email protected]>
1 parent efa19bd commit 7d0b589

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/crypto.markdown

+2-2
Original file line numberDiff line numberDiff line change
@@ -673,11 +673,11 @@ Returns true of false based on the validity of the SPKAC.
673673

674674
### Certificate.exportChallenge(spkac)
675675

676-
Exports the encoded public key from the supplied SPKAC.
676+
Exports the encoded challenge associated with the SPKAC.
677677

678678
### Certificate.exportPublicKey(spkac)
679679

680-
Exports the encoded challenge associated with the SPKAC.
680+
Exports the encoded public key from the supplied SPKAC.
681681

682682
## crypto.publicEncrypt(public_key, buffer)
683683

0 commit comments

Comments
 (0)