Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Java 2.1.4
-
None
Description
org.jcp.xml.dsig.internal.dom.DOMHMACSignatureMethod#sign method doesn't check if we passed Provider in XMLSignContext like org.jcp.xml.dsig.internal.dom.DOMSignatureMethod#sign does.
All signature methods should allow for using passed Provider
Provider p = (Provider)context.getProperty
("org.jcp.xml.dsig.internal.dom.SignatureProvider");