Document that PublicKeyAlgorithm EdDsa is only for OpenPGP v4

This commit is contained in:
Paul Schaub 2024-02-02 18:00:17 +01:00
parent d650ae7371
commit 70da96b064
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
1 changed files with 4 additions and 1 deletions

View File

@ -59,7 +59,10 @@ enum class PublicKeyAlgorithm(
/** Diffie-Hellman key exchange algorithm. */
DIFFIE_HELLMAN(21, false, true),
/** Digital Signature Algorithm based on twisted Edwards Curves. */
/**
* Digital Signature Algorithm based on twisted Edwards Curves.
* For OpenPGP v4 only.
*/
EDDSA(22, true, false),
;