Integrated: 8256363: Define toString() for MGF1ParameterSpec

Weijun Wang weijun at openjdk.java.net
Wed Nov 18 13:17:01 UTC 2020


On Fri, 13 Nov 2020 21:13:54 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.

This pull request has now been integrated.

Changeset: 486d6f63
Author:    Weijun Wang <weijun at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/486d6f63
Stats:     17 lines in 3 files changed: 6 ins; 2 del; 9 mod

8256363: Define toString() for MGF1ParameterSpec

Reviewed-by: mullan

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

PR: https://git.openjdk.java.net/jdk/pull/1208



More information about the security-dev mailing list