[xmlsec] Using a content ID for URI

Aleksey Sanin aleksey@aleksey.com
Thu, 25 Sep 2003 08:40:41 -0700


No, it's actually not quite clear but I would try to guess :)

    1) You would like to use "#ID" or any other XPointer expression in 
URI attributes.
    Yes, it is possible. Please read section 3.2 from FAQ 
http://www.aleksey.com/xmlsec/faq.html
    for the only known common issue about that.
   
    2) You need to use custom protocols like URI="cid:something"
    Yes, it is possible. You would need to register custom protocol 
handlers in both
    LibXML2 and xmlsec. Search headers in both libraries for 
"RegisterProtocol".
    Protocol handlers in both libraries are exactly the same. LibXML2 
handlers are used
    for reading XML files (thus they can automatically do some smart 
things like gzip/gunzip)
    and xmlsec protocol handlers are used for reading binary files. Also 
there is a tutorial'
    page on LibXML2 web site http://xmlsoft.org about writing IO callbacks.


Aleksey


Johannes Kjos wrote:

>Hello!
>I'm using xmlsec 0.0.15! And using an upgrade makes a lot of work for me
>because other project participants have made quit a lot of work in the
>0.0.15 code. 
>
>My question is: Is it possible to make the xmlseclib to use a cid for URI in
>SignedInfo References? E.g.I want the calling app to search through a some
>blocks of a message, inside them there is cids to be resolved for the cids
>in the references (the signature is in a header element). The calling app
>should send e.g. filepath and URI to my secapp and I will make xmlsec to use
>the file for digest but have the cid for that file in SignedInfo when
>signing - and the other way when verifying.
>
>Hope this is understandable...
>
>Best regards,
>Johannes
>
> 
>_______________________________________________
>xmlsec mailing list
>xmlsec@aleksey.com
>http://www.aleksey.com/mailman/listinfo/xmlsec
>  
>