You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Colm O hEigeartaigh (Jira)" <ji...@apache.org> on 2020/02/21 07:15:00 UTC
[jira] [Resolved] (SANTUARIO-524) Unable to pass Provider to HMAC
SignatureMethod
[ https://issues.apache.org/jira/browse/SANTUARIO-524?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colm O hEigeartaigh resolved SANTUARIO-524.
-------------------------------------------
Resolution: Fixed
I fixed this along the lines of [~sean.mullan@oracle.com] 's suggestion.
> Unable to pass Provider to HMAC SignatureMethod
> -----------------------------------------------
>
> Key: SANTUARIO-524
> URL: https://issues.apache.org/jira/browse/SANTUARIO-524
> Project: Santuario
> Issue Type: Bug
> Components: Java
> Affects Versions: Java 2.1.4
> Reporter: Łukasz Lesiak
> Assignee: Colm O hEigeartaigh
> Priority: Major
> Fix For: Java 2.2.0, Java 2.1.5
>
>
> 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
>
> {code:java}
> Provider p = (Provider)context.getProperty
> ("org.jcp.xml.dsig.internal.dom.SignatureProvider");{code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)