> From: Berin Lautenbach
> > Vincent,
> > 
> > Try removing the line :
> > 
> >    ref->appendEnvelopedSignatureTransform();
> > 
> > That's telling the library to sign everything in the 
> *current* document 
> > other than the signature, so it expects a local reference 
> URI (URI="#ptr").

Have hit a small problem

Is there anyway of getting it to ignore the URI itself when creating the signature
what I am seeing is that I can rename the real data file (the 13Mb one)
and change the URI to point to the new one and the signature changes 

Since these files will be moved about I need to be able to rename them or at least 
change their path
I tried using a relative path but I get a MalformedURLException.
The sytax I used is as follows
        DSIGReference * ref = sig->createReference(MAKE_UNICODE_STRING("haha.xml"));

All the mentions on the web seem to suggest that is the syntax

What am I doing wrong?

        Vin

Reply via email to