RFR: 8306688: Support Windows serialized keystores (SST files)
Mat Carter
macarte at openjdk.org
Fri May 26 21:25:59 UTC 2023
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
-------------
Commit messages:
- Removed whitespace
- Merge branch 'openjdk:master' into macarte/8306688
- Add support for SST files on Windows
Changes: https://git.openjdk.org/jdk/pull/14187/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14187&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8306688
Stats: 191 lines in 3 files changed: 145 ins; 40 del; 6 mod
Patch: https://git.openjdk.org/jdk/pull/14187.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14187/head:pull/14187
PR: https://git.openjdk.org/jdk/pull/14187
More information about the security-dev
mailing list