Skip to content

Commit 2db0255

Browse files
committed
Link to RFC for Ed25519 and Ed448
1 parent a515d73 commit 2db0255

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

webauthn-server-core/src/main/java/com/yubico/webauthn/data/COSEAlgorithmIdentifier.java

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,12 @@ public enum COSEAlgorithmIdentifier {
6363
EdDSA(-8),
6464

6565
/**
66-
* The signature scheme Ed25519 as defined in <a
67-
* href="https://www.ietf.org/archive/id/draft-ietf-jose-fully-specified-algorithms-13.html#name-edwards-curve-digital-signa">Fully-Specified
68-
* Algorithms for JOSE and COSE</a>
66+
* The signature scheme Ed25519 as defined in <a href="https://www.rfc-editor.org/rfc/rfc8032">RFC
67+
* 8032</a>.
68+
*
69+
* <p>This value is NOT RECOMMENDED, see the <a
70+
* href="https://w3c.github.io/webauthn/#dom-publickeycredentialcreationoptions-pubkeycredparams">documentation
71+
* of <code>pubKeyCredParams</code></a>. Use {@link EdDSA} instead or in addition.
6972
*
7073
* @see <a href="https://www.iana.org/assignments/cose/cose.xhtml#algorithms">COSE Algorithms
7174
* registry</a>
@@ -79,9 +82,8 @@ public enum COSEAlgorithmIdentifier {
7982
Ed25519(-19),
8083

8184
/**
82-
* The signature scheme Ed448 as defined in <a
83-
* href="https://www.ietf.org/archive/id/draft-ietf-jose-fully-specified-algorithms-13.html#name-edwards-curve-digital-signa">Fully-Specified
84-
* Algorithms for JOSE and COSE</a>
85+
* The signature scheme Ed448 as defined in <a href="https://www.rfc-editor.org/rfc/rfc8032">RFC
86+
* 8032</a>.
8587
*
8688
* @see <a href="https://www.iana.org/assignments/cose/cose.xhtml#algorithms">COSE Algorithms
8789
* registry</a>

0 commit comments

Comments
 (0)