Skip to content

Commit 9bec493

Browse files
antoine-amaraMylesBorins
authored andcommitted
doc: update crypo Certficate class.
Update the dead link to <keygen> documentation. Add a link to mozilla developper documentation because W3C deleted the reference to this element. Add a note to inform <keygen> element is deprecated since HTML 5.2. PR-URL: #18721 Fixes: #18662 Reviewed-By: Tobias Nießen <[email protected]> Reviewed-By: Vse Mozhet Byt <[email protected]>
1 parent 17d4dd5 commit 9bec493

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

doc/api/crypto.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ added: v0.11.8
4242
-->
4343

4444
SPKAC is a Certificate Signing Request mechanism originally implemented by
45-
Netscape and now specified formally as part of [HTML5's `keygen` element][].
45+
Netscape and was specified formally as part of [HTML5's `keygen` element][].
46+
47+
Note that `<keygen>` is deprecated since [HTML 5.2][] and new projects
48+
should not use this element anymore.
4649

4750
The `crypto` module provides the `Certificate` class for working with SPKAC
4851
data. The most common usage is handling output generated by the HTML5
@@ -2422,7 +2425,8 @@ the `crypto`, `tls`, and `https` modules and are generally specific to OpenSSL.
24222425
[`verify.verify()`]: #crypto_verify_verify_object_signature_signatureformat
24232426
[Caveats]: #crypto_support_for_weak_or_compromised_algorithms
24242427
[Crypto Constants]: #crypto_crypto_constants_1
2425-
[HTML5's `keygen` element]: https://www.w3.org/TR/html5/forms.html#the-keygen-element
2428+
[HTML 5.2]: https://www.w3.org/TR/html52/changes.html#features-removed
2429+
[HTML5's `keygen` element]: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/keygen
24262430
[NIST SP 800-131A]: http://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-131Ar1.pdf
24272431
[NIST SP 800-132]: http://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-132.pdf
24282432
[NIST SP 800-38D]: http://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf

0 commit comments

Comments
 (0)