Integrated: 8287246: DSAKeyValue should check for missing params instead of relying on KeyFactory provider

Sean Mullan mullan at openjdk.java.net
Thu May 26 12:40:30 UTC 2022


On Tue, 24 May 2022 16:29:02 GMT, Sean Mullan <mullan at openjdk.org> wrote:

> Please review this fix to the XML Signature implementation to check for null or missing DSA parameters and throw a MarshalException before trying to create a DSA public key from its XML encoding. This will allow the code to fail earlier and not depend on the underlying provider to detect illegal or missing parameters.

This pull request has now been integrated.

Changeset: f235955e
Author:    Sean Mullan <mullan at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/f235955eefb1141a2e72116dfcf345e40416f059
Stats:     30 lines in 1 file changed: 0 ins; 12 del; 18 mod

8287246: DSAKeyValue should check for missing params instead of relying on KeyFactory provider

Reviewed-by: weijun

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

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



More information about the security-dev mailing list