EldoS | Feel safer!

Software components for data protection, secure storage and transfer

verify ref ?, still false :/

Also by EldoS: Solid File System
A virtual file system that offers a feature-rich storage for application documents and data with built-in compression and encryption.
Posted: 10/14/2009 02:55:58
by Kvetoslav Jansta (Standard support level)
Joined: 05/06/2008
Posts: 56


using XMLBlackBox I am trying to verify references xml doc, but stil I get false :(, can you check please, if I use correct progress ?

docDOM := TElXMLDOMDocument.Create;

Verifier := TElXMLVerifier.Create(nil);
if Verifier.References.Count>0 then // yes, it is 1
Ref := Verifier.References.Reference[0];
Ref.URINode := docDOM.documentelement;

Verifier.ValidateSignature // is true
Verifier.ValidateReference(Ref) // is false !!! :(

if I try the xml file to drop to another SW reader/checker signature, it say that all is ok.

<MainNode xmlns="">
<Header> ... </Header>

<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315" />
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" />
<Reference URI="">
<Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" />
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" />


Posted: 10/14/2009 03:10:56
by Dmytro Bogatskyy (Team)

Please, attach an XML document here or to Helpdesk



Topic viewed 860 times

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


Back to top

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

Got it!