Re: RFR: 8225181: KeyStore should have a getAttributes method [v3]

2021-11-04 Thread Weijun Wang
On Wed, 3 Nov 2021 14:18:38 GMT, Weijun Wang wrote: >> Add `KeyStore::getAttributes` so that one can get the attributes of an entry >> without retrieving the entry first. This is especially useful for a private >> key entry which can only be retrieved with a password. > > Weijun Wang has update

Re: RFR: 8225181: KeyStore should have a getAttributes method [v3]

2021-11-04 Thread Sean Mullan
On Thu, 4 Nov 2021 13:44:52 GMT, Weijun Wang wrote: >> src/java.base/share/classes/java/security/KeyStore.java line 1027: >> >>> 1025: * >>> 1026: * @implSpec >>> 1027: * The default implementation returns an empty {@code Set}. >> >> Would it make more sense for the default impl

Re: RFR: 8225181: KeyStore should have a getAttributes method [v3]

2021-11-04 Thread Weijun Wang
On Thu, 4 Nov 2021 13:21:19 GMT, Sean Mullan wrote: >> Weijun Wang has updated the pull request incrementally with one additional >> commit since the last revision: >> >> more clear and precise spec > > src/java.base/share/classes/java/security/KeyStore.java line 1027: > >> 1025: * >> 1

Re: RFR: 8225181: KeyStore should have a getAttributes method [v3]

2021-11-04 Thread Sean Mullan
On Wed, 3 Nov 2021 14:18:38 GMT, Weijun Wang wrote: >> Add `KeyStore::getAttributes` so that one can get the attributes of an entry >> without retrieving the entry first. This is especially useful for a private >> key entry which can only be retrieved with a password. > > Weijun Wang has update

Re: RFR: 8225181: KeyStore should have a getAttributes method [v3]

2021-11-03 Thread Weijun Wang
> Add `KeyStore::getAttributes` so that one can get the attributes of an entry > without retrieving the entry first. This is especially useful for a private > key entry which can only be retrieved with a password. Weijun Wang has updated the pull request incrementally with one additional commit