Re: getParams() for XECKey returns nonsense

2020-09-09 Thread Sean Mullan
On 9/9/20 1:16 AM, Anders Rundgren wrote: I may (surely) be wrong but changing the API to return NamedParameterSpec should not break any existing code based on the Oracle provider. Whether it continues to work when someone is using a specific provider is not relevant. This is a Java SE API, an

Re: getParams() for XECKey returns nonsense

2020-09-08 Thread Anders Rundgren
On 2020-09-08 22:05, Anthony Scarpino wrote: On 9/8/20 11:42 AM, Anders Rundgren wrote: On 2020-09-08 19:29, Anthony Scarpino wrote: On 8/30/20 9:51 AM, Anders Rundgren wrote: Hi, This applies to JDK 11. https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/security/interfaces/XEC

Re: getParams() for XECKey returns nonsense

2020-09-08 Thread Anthony Scarpino
On 9/8/20 11:42 AM, Anders Rundgren wrote: On 2020-09-08 19:29, Anthony Scarpino wrote: On 8/30/20 9:51 AM, Anders Rundgren wrote: Hi, This applies to JDK 11. https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/security/interfaces/XECKey.html what is the value of "AlgorithmPa

Re: getParams() for XECKey returns nonsense

2020-09-08 Thread Anders Rundgren
On 2020-09-08 19:29, Anthony Scarpino wrote: On 8/30/20 9:51 AM, Anders Rundgren wrote: Hi, This applies to JDK 11. https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/security/interfaces/XECKey.html what is the value of "AlgorithmParameterSpec"? In JDK 15 the new EdECKey has go

Re: getParams() for XECKey returns nonsense

2020-09-08 Thread Anthony Scarpino
On 8/30/20 9:51 AM, Anders Rundgren wrote: Hi, This applies to JDK 11. https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/security/interfaces/XECKey.html what is the value of "AlgorithmParameterSpec"? In JDK 15 the new EdECKey has gotten a more logical solution: https://downlo