From 824fb0e1ea1f4814ae648395125581de44d80a6f Mon Sep 17 00:00:00 2001 From: Antoine AMARA Date: Sun, 11 Feb 2018 20:55:16 +0100 Subject: [PATCH] doc: update crypo Certficate class. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update the dead link to documentation. Add a link to mozilla developper documentation because W3C deleted the reference to this element. Add a note to inform element is deprecated since HTML 5.2. PR-URL: https://github.com/nodejs/node/pull/18721 Fixes: https://github.com/nodejs/node/issues/18662 Reviewed-By: Tobias Nießen Reviewed-By: Vse Mozhet Byt --- doc/api/crypto.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 379141990089bc..86266156dc6da5 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -42,7 +42,10 @@ added: v0.11.8 --> SPKAC is a Certificate Signing Request mechanism originally implemented by -Netscape and now specified formally as part of [HTML5's `keygen` element][]. +Netscape and was specified formally as part of [HTML5's `keygen` element][]. + +Note that `` is deprecated since [HTML 5.2][] and new projects +should not use this element anymore. The `crypto` module provides the `Certificate` class for working with SPKAC data. The most common usage is handling output generated by the HTML5 @@ -2296,7 +2299,8 @@ the `crypto`, `tls`, and `https` modules and are generally specific to OpenSSL. [`verify.verify()`]: #crypto_verify_verify_object_signature_signatureformat [Caveats]: #crypto_support_for_weak_or_compromised_algorithms [Crypto Constants]: #crypto_crypto_constants_1 -[HTML5's `keygen` element]: https://www.w3.org/TR/html5/forms.html#the-keygen-element +[HTML 5.2]: https://www.w3.org/TR/html52/changes.html#features-removed +[HTML5's `keygen` element]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/keygen [NIST SP 800-131A]: http://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-131Ar1.pdf [NIST SP 800-132]: http://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf [NIST SP 800-38D]: http://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf