RFR: 8256363: Define toString() for MGF1ParameterSpec [v2]

Weijun Wang weijun at openjdk.java.net
Mon Nov 16 14:25:20 UTC 2020


> 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.

Weijun Wang has updated the pull request incrementally with one additional commit since the last revision:

  make PSSParameterSpec one line
  
  only in patch2:
  unchanged:

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/1208/files
  - new: https://git.openjdk.java.net/jdk/pull/1208/files/a78ee87e..3b0a4c83

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1208&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1208&range=00-01

  Stats: 5 lines in 1 file changed: 0 ins; 0 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1208.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1208/head:pull/1208

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



More information about the security-dev mailing list