EldoS | Feel safer!

Software components for data protection, secure storage and transfer

c14n

Also by EldoS: Rethync
The cross-platform framework that simplifies synchronizing data between mobile and desktop applications and servers and cloud storages
#15628
Posted: 01/28/2011 10:46:25
by Pedro Salgado (Standard support level)
Joined: 10/18/2010
Posts: 9

Hi,
I'm using "soapUI 3.6" tool to validate a signature in a SOAP request
and this message is showed "..InvalidCanonicalizerException : Unknown canonicalizer. No handler installed for URI http://www.w3.org/2001/10/xml-exc-c14n"

I'm seeing this tool has configured a canonicalizer "http://www.w3.org/2001/10/xml-exc-c14n#".

Can it be by the "#" character ?

the signature :

Code
         <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
            <ds:SignedInfo>
               <ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n"/>
               <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
               <ds:Reference URI="#Id-0F99F971-1ED5-4213-8E2F-A10BCA9F5F34">
                  <ds:Transforms>
                     <ds:Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n"/>
                  </ds:Transforms>
                  <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
                  <ds:DigestValue>PJDkuqSJXQoVjSMFgiDpWCRxSyI=</ds:DigestValue>
               </ds:Reference>
            </ds:SignedInfo>
            <ds:SignatureValue>cCKtSCKTCOctXRyMWVby/+DS+MCObYiOWxCmpQpzGOffCBRTiT8hXYABWyJSWbGNu+X/Oj8q...VoAq+ChdFRcJRMUoM=</ds:SignatureValue>
            <ds:KeyInfo>
               <wsse:SecurityTokenReference xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
                  <wsse:Reference URI="#SecurityToken-26864170-44DA-415A-9FBE-95C005B0D775" valueType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-x509-token-profile-1.0#X509v3"/>
               </wsse:SecurityTokenReference>
            </ds:KeyInfo>
         </ds:Signature>


Environment : Delphi2010.

Best regards,
#15630
Posted: 01/28/2011 11:16:36
by Dmytro Bogatskyy (EldoS Corp.)

What SecureBlackbox version are you using?
It should be with "#" character at the end. SecureBlackbox support both cases but default one is with "#".
Please check that you didn't override it somewhere. Algorithm URI could be changed using SBXMLDefs.xmlCanonicalizationExcl.DefaultVersion property.
#15632
Posted: 01/28/2011 11:36:04
by Pedro Salgado (Standard support level)
Joined: 10/18/2010
Posts: 9

My fault , I had "SBXMLDefs.xmlCanonicalizationExcl.DefaultVersion :=
'http://www.w3.org/2001/10/xml-exc-c14n';"

Best regards.

Reply

Statistics

Topic viewed 1472 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!