diff --git a/webauthn-server-core/src/main/java/com/yubico/webauthn/data/COSEAlgorithmIdentifier.java b/webauthn-server-core/src/main/java/com/yubico/webauthn/data/COSEAlgorithmIdentifier.java index 172ab46a9..f1f553147 100644 --- a/webauthn-server-core/src/main/java/com/yubico/webauthn/data/COSEAlgorithmIdentifier.java +++ b/webauthn-server-core/src/main/java/com/yubico/webauthn/data/COSEAlgorithmIdentifier.java @@ -62,6 +62,38 @@ public enum COSEAlgorithmIdentifier { */ EdDSA(-8), + /** + * The signature scheme Ed25519 as defined in Fully-Specified + * Algorithms for JOSE and COSE + * + * @see COSE Algorithms + * registry + * @see Fully-Specified + * Algorithms for JOSE and COSE + * @see WebAuthn + * §5.8.5. Cryptographic Algorithm Identifier (typedef COSEAlgorithmIdentifier + * ) + */ + Ed25519(-19), + + /** + * The signature scheme Ed448 as defined in Fully-Specified + * Algorithms for JOSE and COSE + * + * @see COSE Algorithms + * registry + * @see Fully-Specified + * Algorithms for JOSE and COSE + * @see WebAuthn + * §5.8.5. Cryptographic Algorithm Identifier (typedef COSEAlgorithmIdentifier + * ) + */ + Ed448(-53), + /** * ECDSA with SHA-256 on the NIST P-256 curve. *