Milan,
Will have a look-see!
Cheers,
Berin
Milan Tomic wrote:
When I set XSECURIResolverGenericWin32 I got an error when
verifying detached signature in separate file, if signed file have space
(" ") in its folder or file name. Example:
XSECURIResolverGenericWin32 theResolver;
si
When I set XSECURIResolverGenericWin32 I got an error when
verifying detached signature in separate file, if signed file have space
(" ") in its folder or file name. Example:
XSECURIResolverGenericWin32 theResolver;
sig->setURIResolver(&theResolver);
Best regards,
Milan
Milan Tomic wrote:
Cool! I've just tested it and it works fine. Works fine when verifying
URL signature, but not when signing URL. Is there something else I
should do when signing an URL?
No - should be exactly the same. It's the same code used for both.
What's the error you are getting?
Cheers
> Your 2 lines of code below should also do the trick.
Cool! I've just tested it and it works fine. Works fine when verifying
URL signature, but not when signing URL. Is there something else I
should do when signing an URL?
Danke schön,
Milan
Milan,
Cool - best way to test it if you have something that can be checked
with checksig.
If you use "-x" to checksig, it will activate the XSECURIResolver. That
should do you. It's not that much different to the default, but it
understands 301/302 returns.
Your 2 lines of code below shoul
Thank you, Berin, for your help.
> You can call DSIGSignature::setURIResolver() to set a new URI
> Resolver.
> There are two classes, XSECURIResolverGenericWin32 and
> XSECURIResolverGenericUnix, which are re-implementations of
> the Xerces
> resolvers that handle 301/302 codes. You can p
Milan,
Just had a play around and integrated the XSECUri resolver (as apposed
to the Xerces resolver) into templatesign. This handles trailing "/"
characters fine - mainly because a lack of one gets returned by a web
server as a 302 - permanently moved. The Xerces resolver doesn't handle
thi
Milan,
I will have a good look at this one the weekend.
I have also been seriously considering a wrapper for the Windows Inet
API as it is just the easiest and simplest way to go on the Win platform.
The NIX platform I am not so sure on - any suggestions from anyone welcome.
Cheers,
Be
> Which URI resolver are you using? (If you don't set anything you are
> using XSECURIResolverXerces.
Yes, I didn't set URI resolver. So, I supose I'm using default one.
> I am *strongly* considering writing a wrapper for one or two URI
> handling libraries. *Very* interesting if people have
Milan,
Which URI resolver are you using? (If you don't set anything you are
using XSECURIResolverXerces.
Actually - this whole thing is a nasty piece of work around.
I started off with XSECURIResolverXerces - basically it's just a wrapper
around the calls in Xerces that do all the connectivit
Title: [c++] Signing of URL
If I try to sign http://www.setcce.org it fails with Apache C++ library, but works fine with Apache Java library. In Apache C++ library I have to add slash at the end of URL like: http://www.setcce.org/
11 matches
Mail list logo