RFR: 8374808: Add new methods to KeyStore and KeyStoreSpi that return the creation date as an Instant instead of Date [v6]

Sibabrata Sahoo ssahoo at openjdk.org
Wed Jan 21 06:06:57 UTC 2026


On Tue, 20 Jan 2026 16:48:15 GMT, Mikhail Yankelevich <myankelevich at openjdk.org> wrote:

>> Hi!
>> 
>> This is my proposal to transfer `KeyStore` and `KeyStoreSpi` with internal implementations to use `Instance`s instead of `Date`s. 
>> I would be very grateful for your comments and suggestions.
>> 
>> Thanks!
>> 
>> P.S. this is related to [JDK-8350953](https://bugs.openjdk.org/browse/JDK-8350953)
>
> Mikhail Yankelevich has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Doc changes

src/java.base/share/classes/com/sun/crypto/provider/JceKeyStore.java line 240:

> 238: 
> 239:         if (entry != null) {
> 240:             if (entry instanceof TrustedCertEntry) {

instanceof pattern matching can be used.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/29140#discussion_r2711082944


More information about the security-dev mailing list