Possible typos in JEP 339

Sean Mullan sean.mullan at oracle.com
Mon Aug 21 14:08:30 UTC 2023



On 8/21/23 8:43 AM, Albert Attard wrote:
> Hello.
> 
> I believe there are two small typos in the JEP 339 page 
> (https://openjdk.org/jeps/339 <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?

Yes, good catches! I'll make sure we fix this.

--Sean




More information about the security-dev mailing list