diff --git a/pg/src/main/java/org/bouncycastle/openpgp/examples/EllipticCurveKeyPairGenerator.java b/pg/src/main/java/org/bouncycastle/openpgp/examples/EllipticCurveKeyPairGenerator.java index 26ce03e4a7..00f6423305 100644 --- a/pg/src/main/java/org/bouncycastle/openpgp/examples/EllipticCurveKeyPairGenerator.java +++ b/pg/src/main/java/org/bouncycastle/openpgp/examples/EllipticCurveKeyPairGenerator.java @@ -40,12 +40,13 @@ import org.bouncycastle.openpgp.operator.jcajce.JcePBESecretKeyEncryptorBuilder; /** - * A simple utility class that generates an RSA key ring. - *

- * usage: RSAKeyPairGenerator [-a] identity passPhrase - *

- * Where identity is the name to be associated with the public key. The keys are placed - * in the files pub.[asc|bpg] and secret.[asc|bpg]. + * A simple utility class that generates an OpenPGP key ring using + * Ed25519 for certification and signing and X25519 for encryption. + * + * usage: EllipticCurveKeyPairGenerator [-a] identity passPhrase + * + * Where identity is the name to be associated with the public key. + * The keys are written to pub.[asc|bpg] and secret.[asc|bpg]. */ public class EllipticCurveKeyPairGenerator {