RFR: 8260693: Provide the support for specifying a signer in keytool -genkeypair [v3]

Hai-May Chao hchao at openjdk.java.net
Thu Apr 1 21:40:26 UTC 2021

On Thu, 1 Apr 2021 17:04:33 GMT, Weijun Wang <weijun at openjdk.org> wrote:

>> As `RecoveryKey()` will make sure if the entry exists in the keystore and is a `PrivateKeyEntry`, removed this checking and updated to check for if `signerCert` is null.
> Yes, it must be a private key entry. On the other hand, I think it's unnecessary to check about the `signerCert`. I don't think it'll be ever null.

Ok, removed this checking.


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

More information about the security-dev mailing list