mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
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>
This commit is contained in:
1 parent
0e8eb66a78
commit
347fb65aee
1 file changed
+2
-2
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user