Hi,
When using WSS4J with xmlsec 1.3.0 all works fine. When I switch the runtime to use xmlsec 1.4.Beta2, then I get the following NPE: Caused by: java.lang.NullPointerException at org.apache.xml.security.signature.SignedInfo.getCanonicalizationMethodURI(Unknown Source) at org.apache.xml.security.signature.SignedInfo.signInOctectStream(Unknown Source) at org.apache.xml.security.signature.XMLSignature.sign(Unknown Source) at org.apache.ws.security.message.WSSecSignature.computeSignature(WSSecSignature.java:599) ... 20 more BTW: There is no JIRA for xmlsec. Why? Regards, Frank. >----- Oorspronkelijk bericht ----- >Van: Raul Benito [mailto:[EMAIL PROTECTED] >Verzonden: woensdag, augustus 16, 2006 10:20 PM >Aan: security-dev@xml.apache.org >Onderwerp: xmlsec-1.4beta2 released > >I have just tagged compiled & upload a new jar of the >xmlsec-1.4.Beta2. The download url: >http://people.apache.org/~raul/dist/xmlsec-1.4.Beta2.jar > >This release contains new functionality, bugfixes & optimizations >(some really important). >From now on, only bugfixes. >Please donwload and test it. Overall people that use xpath & xpath2 >transformations, and the ones that have reported bugs. > >Regards, > >Raul >------------- > >New in v1.4beta2 > Optimization in c14n in node-sets. > Optimization for the xml:* inheritance in inclusive c14n. > Added ECDSA signature thanks Markus Lindner > Optimization in RetrievelMethod handling. Don't reparse the bytes >into a DOM tree if not needed thanks David Garcia. > Fixed bug 40215: Base64 is not working in EBCDIC platform. Thanks to > [EMAIL PROTECTED] for fix. > Big optimizations in XPath2 transformation. > Fixed bug 40245 in XPATH2 transformation(only in development version) > Fixed bug no resolver for X509Data with just a X509Certificate. > Optimization in Base64 to do simple transformation from String to > byte[] > >Raul > >-- >http://r-bg.com > >