On Thu, 15 Dec 2022 17:16:35 GMT, Bernd <d...@openjdk.org> wrote: > BTW while you touch the algorithm documentation, it Liste pkcs#5 which does > work with octet strings, but the java api works with char passwords. It > should describe that it uses the ucs2 char->bytes method not utf8 (pkcs8 vs > pkcs12 if I recommend correctly). > > (Or even better allow both as currently i would still need to use BC for a > byte representation in better defined utf8)
Allow both would need a separate RFE. I will ask the doc team to document that only ASCII is supported for SunJCE provider for now. Thanks for the comment~ ------------- PR: https://git.openjdk.org/jdk/pull/11339