You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by Ec...@softwareag.com on 2004/11/29 17:22:09 UTC
resolve HTTP URI with Proxy
Hello all,
xml-security C++:
I'm trying to create an external References within XMLSignature via a
URI specification. The reference should be hashed (and perhaps
transformed). So far, I got local files to work
("file://localhost/file.xxx") as well as files via http that reside
inside our firewall.
Question: How do I get through the firewall? Are there proxy settings
that I can call?
So far, I've seen that xml security is using a Xerces resolver.
PS: I use the following function to set up the reference:
DSIGReference * ref =
sig->createReference(MAKE_UNICODE_STRING("http://www.some-site.com"));
Thanks for any info,
Dieter Kessler
Re: resolve HTTP URI with Proxy
Posted by Berin Lautenbach <be...@wingsofhermes.org>.
Dieter,
Apologies for delay in reply - have been away.
The library uses classes that inherit from XSECURIResolver to handle URI
resolving. The Xerces resolver is what we use for basic interop
testing, but it's not designed for hard work.
To do something with proxies, you will need to implement your own
resolver, and then call DSIGSignature::setURIResolver(theResolver) to
tell the signature class to use it.
Cheers,
Berin
Eckehard.Hermann@softwareag.com wrote:
> Hello all,
>
> xml-security C++:
>
> I'm trying to create an external References within XMLSignature via a
> URI specification. The reference should be hashed (and perhaps
> transformed). So far, I got local files to work
> ("file://localhost/file.xxx") as well as files via http that reside
> inside our firewall.
>
> Question: How do I get through the firewall? Are there proxy settings
> that I can call?
> So far, I've seen that xml security is using a Xerces resolver.
>
> PS: I use the following function to set up the reference:
> DSIGReference * ref =
> sig->createReference(MAKE_UNICODE_STRING("http://www.some-site.com"));
>
> Thanks for any info,
>
> Dieter Kessler
>
>