RFR: 8256363: Define toString() for MGF1ParameterSpec
Sean Coffey
coffeys at openjdk.java.net
Mon Nov 16 08:17:53 UTC 2020
On Fri, 13 Nov 2020 21:18:30 GMT, Weijun Wang <weijun at openjdk.org> wrote:
>> Without this method, `PSSParameterSpec::toString` shows something like:
>> MD: SHA-256
>> MGF: java.security.spec.MGF1ParameterSpec at 77b52d12
>> SaltLength: 32
>> TrailerField: 1
>> This is ugly.
>>
>> Noreg-trivial.
>
> Do you want me to consolidate `PSSParameterSpec::toString` into one line? Multi-line toString is usually not very friendly to debug output (esp for grep).
tidying PSSParameterSpec::toString into 1 line would be useful. thanks!
-------------
PR: https://git.openjdk.java.net/jdk/pull/1208
More information about the security-dev
mailing list