RFR: 8306688: Support Windows serialized keystores (SST files)

Weijun Wang weijun at openjdk.org
Mon Dec 4 15:04:04 UTC 2023


On Thu, 1 Jun 2023 17:11:01 GMT, Mat Carter <macarte at openjdk.org> wrote:

>> Added ability to load keystores from SST files on Windows.  Example usage:
>> 
>> KeyStore keyStore = KeyStore.getInstance("Windows-SST");
>> try (FileInputStream fis = new FileInputStream("mykeystore.sst")) {
>>    keyStore.load(fis, null);
>> }
>> 
>> Note that its not limited to file streams, it can be any stream.
>> 
>> The feature is behind a runtime flag ("sun.security.mscapi.keyStoreSSTSupport") as the KeyStore must have an input stream, but the JCK tests assume an input stream is optional
>> 
>> tier1 tests for linux/macos/Windows for x86_64
>
> Thanks for the explanation, I understand your point now. I'll make changes to support writing to the SST

@macarte Please remove the Fix Version/s field of this bug now that it will not go into jdk22.

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

PR Comment: https://git.openjdk.org/jdk/pull/14187#issuecomment-1838828661



More information about the security-dev mailing list