Possible typos in JEP 339
Albert Attard
albertattard at gmail.com
Mon Aug 21 12:43:00 UTC 2023
Hello.
I believe there are two small typos in the JEP 339 page (
https://openjdk.org/jeps/339).
// example: use KeyFactory to contruct a public key
KeyFactory kf = KeyFactory.getInstance("EdDSA");
boolean xOdd = ...
BigInteger y = ...
NamedParameterSpec paramSpec = new NamedParameterSpec("Ed25519");
EdECPublicKeySpec pubSpec = new EdECPublicKeySpec(paramSpec, new EdPoint(xOdd,
y));
PublicKey pubKey = kf.generatePublic(pubSpec);
- In the commend, I believe "*contruct*" should be "*construct*", and
- Should the class name EdPoint be EdECPoint?
Thank you
With kind regards,
Albert Attard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/security-dev/attachments/20230821/24765cf9/attachment.htm>
More information about the security-dev
mailing list