[xmlsec] RetrievalMethod with local URI?

Aleksey Sanin aleksey at aleksey.com
Wed Jul 17 10:40:50 PDT 2002


Yes, wrapping is not necessary. As I wrote before the example in this
message is incorrect. But it could be something like:
        <Something Id="foo">
            <DSAKeyValue xmlns="http://www.w3.org/2000/09/xmldsig#">
                    ....
            </DSAKeyValue>
        </Something>

Aleksey

John Belmonte wrote:

> Aleksey Sanin wrote:
>
>> Ops, sorry I am wrong. The correct pointer is
>>
>>     <KeyInfo xmlns="http://www.w3.org/2000/09/xmldsig#">
>>         <KeyValue>
>>              <DSAKeyValue 
>> Id="foo">                                                              
>>                 ...
>>               </DSAKeyValue>
>>         </KeyValue>
>>     </KeyInfo>
>>
>> And there is a bug in xmlsec :( Thanks for finding it!
>
>
> I see.  It makes sense that the reference should be to a concrete key 
> type, since RetrievalMethod can take the type as an option.
>
> By the way, I don't think that the wrapping KeyInfo/KeyValue elements 
> are strictly necessary for the referenced key.
>
> Thanks,
> -John
>
>





More information about the xmlsec mailing list