File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -474,6 +474,26 @@ such as in the generation of encryption keys.
474474
475475Usage is otherwise identical to ` crypto.randomBytes ` .
476476
477+ ## Class: Certificate
478+
479+ The class used for working with signed public key & challenges. The most
480+ common usage for this series of functions is when dealing with the ` <keygen> `
481+ element. http://www.openssl.org/docs/apps/spkac.html
482+
483+ Returned by ` crypto.Certificate ` .
484+
485+ ### Certificate.verifySpkac(spkac)
486+
487+ Returns true of false based on the validity of the SPKAC.
488+
489+ ### Certificate.exportChallenge(spkac)
490+
491+ Exports the encoded public key from the supplied SPKAC.
492+
493+ ### Certificate.exportPublicKey(spkac)
494+
495+ Exports the encoded challenge associated with the SPKAC.
496+
477497## crypto.DEFAULT_ENCODING
478498
479499The default encoding to use for functions that can take either strings
You can’t perform that action at this time.
0 commit comments