Skip to content

Fix incorrect Javadoc in EllipticCurveKeyPairGenerator example#2269

Closed
Joowon-Seo wants to merge 1 commit into
bcgit:mainfrom
Joowon-Seo:docs/fix-elliptic-curve-keypair-generator-javadoc
Closed

Fix incorrect Javadoc in EllipticCurveKeyPairGenerator example#2269
Joowon-Seo wants to merge 1 commit into
bcgit:mainfrom
Joowon-Seo:docs/fix-elliptic-curve-keypair-generator-javadoc

Conversation

@Joowon-Seo
Copy link
Copy Markdown
Contributor

The Javadoc for EllipticCurveKeyPairGenerator incorrectly states that it generates an RSA key ring.

However the implementation generates an OpenPGP key ring using:

  • Ed25519 for certification and signing
  • X25519 for encryption

This PR updates the Javadoc and usage text to correctly describe the
generated key types.

The example generates an Ed25519/X25519 OpenPGP key ring,
but the Javadoc incorrectly states that it generates an RSA key ring.
This commit updates the documentation and usage text accordingly.
@Joowon-Seo Joowon-Seo force-pushed the docs/fix-elliptic-curve-keypair-generator-javadoc branch from 1483998 to 686a11b Compare March 12, 2026 05:10
@peterdettman
Copy link
Copy Markdown
Collaborator

Merged, thanks for the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants