RFR: 8163498: Many long-running security libs tests [v2]

Fernando Guallini fguallini at openjdk.java.net
Wed Feb 3 22:08:12 UTC 2021


On Wed, 3 Feb 2021 19:50:02 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> That is right, PSSKeyCompatibility already explicitly proves they both are equal and there are other tests that generates both manually and using KeyFactory. In addition, this test focuses on signature verification rather than key creation.
>
> Not only does a key have encoded form and an algorithm, it might contain other internal info that could affect its usage (here, it's signing and verifying). That's why there are multiple keys there.
> 
> A Spec type is different, it only has public data and is easy to prove equality.

Sure, the equality verification was added now

-------------

PR: https://git.openjdk.java.net/jdk/pull/2381



More information about the security-dev mailing list