RFR: 8322766: Micro bench SSLHandshake would use modern algorithms

John Jiang jjiang at openjdk.org
Sat Dec 30 00:51:46 UTC 2023


On Fri, 29 Dec 2023 19:13:57 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:

>> test/micro/org/openjdk/bench/java/security/SSLHandshake.java is using keystore type `JKS` and TrustManagerFactory/KeyManagerFactory algorithm `SunX509`.
>> It may be better to use `PKCS12` and `PKIX` respectively.
>
> Could you change to getDefaultAlgorithm / getDefaultType instead?

@djelinski 
I just used the default type/algorithm instead, though the default `KeyManager` is `SunX509` but not `PKIX`.

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

PR Comment: https://git.openjdk.org/jdk/pull/17202#issuecomment-1872409622



More information about the security-dev mailing list