RE: URI resolution problem

2005-05-30 Thread Vincent Finn
f instances. > > Anyway - I have patched the Generic resolver to look for hostname="". > Are you able to test CVS? > > Cheers, > Berin > > Vincent Finn wrote: > > Hi, > > > > It is a file URI > > It has the following values >

RE: URI resolution problem

2005-05-27 Thread Vincent Finn
iginal Message- > From: Berin Lautenbach [mailto:[EMAIL PROTECTED] > Sent: 26 May 2005 12:25 > To: security-dev@xml.apache.org > Subject: Re: URI resolution problem > > > Vincent, > > What kind of URI is this? Can you give us a sample XML file? > > Cheers, >

URI resolution problem

2005-05-24 Thread Vincent Finn
Hi, I have what I hope is a simple problem I have recently upgraded to xsec 1.1 My call to sign() now fails I traced the code and it fails in XSECURIResolverGenericWin32::resolveURI() The reason it fails is because it thinks the URI is not to a localhost The reason for this is that xmluri->getH

RE: DSIGReference (free)

2004-03-23 Thread Vincent Finn
Title: DSIGReference (free) No, it's handled by the signature   From the docs. DSIGSignature::createReference Creates a new DSIGReference, adds it to the list of references handled by the owning DSIGSignature -Original Message-From: Milan Tomic [mailto:[EMAIL PROTECTED]Sent: 2

RE: Non dom based signature?

2004-02-20 Thread Vincent Finn
else if (baseURI[i] == '/') > lastSlash = i; > } > > // The last "\\" must prefix the filename > baseURI[lastSlash + 1] = '\0'; > > XMLUri uri(MAKE_UNICODE_

RE: Non dom based signature?

2004-02-19 Thread Vincent Finn
> 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

Re: Non dom based signature?

2004-02-19 Thread Vincent Finn
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"). Works perfectly

RE: Non dom based signature?

2004-02-18 Thread Vincent Finn
> From: Berin Lautenbach > Not so much a function. If you create a Reference with a URI that > points to the file you want to use, that should do the trick. trying this and failing I'm sure I am missing something obvious but I can't see any examples using URI and mine isn't working I created a

Re: Non dom based signature?

2004-02-18 Thread Vincent Finn
Berin Lautenbach wrote: >> The reason I ask is because I have a document that is about 13Mb with >> about 200 or 300 thousand nodes >> >> calling parse to get this into a DOM document crashes after the memory >> hits about 2Gb. >> I should be able to rewrite my load of this file to use Sax but

Non dom based signature?

2004-02-17 Thread Vincent Finn
Hi, Is it possible to sign and verify a document without using the DOM? The reason I ask is because I have a document that is about 13Mb with about 200 or 300 thousand nodes calling parse to get this into a DOM document crashes after the memory hits about 2Gb. I should be able to rewrite my lo