santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cantor, Scott" <>
Subject Re: Question regarding References as input streams in Santuario-c++
Date Wed, 26 Nov 2014 15:15:03 GMT
On 11/26/14, 3:00 PM, "SM" <> wrote:
>I see. That is exactly what I need to do. Sign parts in an  OPC
><>   package and 
>the detached signatures in the package. All the URLs of the references 
>be relative.


>The problem is that such a reference may not be a file resource but a 
>resource. So for signing and verifying the URL must be read in as a stream
>and then used.

There has to be a base URI involved to resolve relative URLs against. And 
I can tell you definitively the code at best knows about file:// and 
http:// and that's about it, and I doubt I would trust the http:// code, 
speaking as somebody that writes software that needs real, robust, "can't 
ever break" http support.

In the sense you mean it, everything is a stream to the code, it's just 
resolving byte streams to sign. But you can't just magically have streams 
of arbitrary types, there has to be code built to resolve the resources.

-- Scott

View raw message