Integrated: 8241306: Add SignatureMethodParameterSpec subclass for RSASSA-PSS params

Weijun Wang weijun at openjdk.java.net
Mon Apr 19 14:32:36 UTC 2021


On Wed, 24 Mar 2021 21:36:21 GMT, Weijun Wang <weijun at openjdk.org> wrote:

> This enhancement contains the following code changes:
> 
> 1. Create a new public API `javax/xml/crypto/dsig/spec/RSAPSSParameterSpec` and remove the internal one.
> 2. Update marshaling and unmarshaling code inside `DOMRSAPSSSignatureMethod` so it understands extra fields in `PSSParameterSpec` and is aware of the defaults in both directions.
> 3. Update `DOMSignedInfo` so that secure validation can restrict `DigestMethod` used inside `RSAPSSParameterSpec`
> 4. Tests

This pull request has now been integrated.

Changeset: 8dbf7aa1
Author:    Weijun Wang <weijun at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/8dbf7aa1
Stats:     1319 lines in 11 files changed: 1159 ins; 110 del; 50 mod

8241306: Add SignatureMethodParameterSpec subclass for RSASSA-PSS params

Reviewed-by: mullan

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

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


More information about the security-dev mailing list