EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Problem Canonization

Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.
Posted: 10/07/2009 03:36:51
by David MICHEL (Standard support level)
Joined: 09/23/2009
Posts: 48

With this code, I have the impression that canonization does not occur well. Will I have forgotten a parameter?

Level server, one brings back to me an error of signature of with to the problem of canonization.

  RefList := TElXMLReferenceList.Create;
    Ref  := TElXMLReference.Create;

      Ref.DigestMethod := xdmSHA256;
      Ref.URI := '#xpointer(//*[@authenticate=''true''])';  
      Ref.URINode := ExtractURINode('//*[@authenticate]','http://www.ebics.org/H003');

      C14N := TElXMLC14NTransform.Create;
        C14N.CanonicalizationMethod := xcmCanon;


    Signer := TElXMLSigner.Create(Self);
      Signer.SignatureType          := xstEnveloped;  
      Signer.CanonicalizationMethod := xcmCanon;      
      Signer.SignatureMethodType    := xmtSig;        
      Signer.SignatureMethod        := xsmRSA_SHA256;
      Signer.References             := RefList;      
      Signer.KeyName                := '';
      Signer.IncludeKey             := False;

Sincerely yours,
Posted: 10/07/2009 04:32:01
by Eugene Mayevski (EldoS Corp.)

Moved to HelpDesk.

Sincerely yours
Eugene Mayevski



Topic viewed 877 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!