Yup - use URI="aaa.doc" and then use a XSECURIResolverGenericWin32 (or XSECURIResolverGenericUnix) with a base path set to the current directory.

Have a look-see at checksig.cpp. The code is fairly ugly, but it should work.

Cheers,
        Berin


Andrzej Matejko wrote:


Hi,

  Is it possible to create detached digital siganture that has relative
reference? I mean, reference points to file in current directory.
  In another way - something like that:

 <ds:Signature....
 <ds:Reference URI="file:////aaa.doc">
 ...

Instead of:

<ds:Signature....
<ds:Reference URI="file:///c:/temp/direc/aaa.doc"> ...



And during verification xsec will/should search current directory for
file that is mentioned inf Reference node.


  Thanks for answers,
   andrzeJ



Reply via email to