OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

dss message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [Fwd: [dss] More on EnvelopingSignature]


Dear Juan Carlos and all,

Juan Carlos Cruellas wrote:

> [...] the alignment RefURI / ObjId could
> be broken [...]

I'm not entirely sure if we can or should ask for an alignment of RefURI 
/ ObjId at all.

Please consider the following Signature (part of the example in my last 
email).

   <Signature xmlns="http://www.w3.org/2000/09/xmldsig#";>
     <SignedInfo>
       <CanonicalizationMethod Algorithm="..."/>
       <SignatureMethod Algorithm="..."/>

       <Reference Id="RefId2" URI="#data"> ... </Reference>

       <Reference Id="RefId3" URI="#xpointer(ID('data1'))"> ...  
</Reference>

       <Reference Id="RefId5" URI="#xpointer(ID('dsObjIdC'))/XYZ/XYZ"> 
... </Reference>

     </SignedInfo>
     <SignatureValue>...==</SignatureValue>

     <Object Id="ObjIdA">
     <ns1:XYZ xmlns:ns1="http://ns.com#ns1";>
        <ns1:XYZ ID="data"/>
     </ns1:XYZ>
     </Object>

     <Object>
     <ns1:XYZ xmlns:ns1="http://ns.com#ns1";>
        <ns1:XYZ Id="data1">
          Text and <!-- Comments -->
        </ns1:XYZ>
     </ns1:XYZ>
     </Object>

     <Object Id="ObjIdC">
     <ns1:XYZ xmlns:ns1="http://ns.com#ns1";>
        <ns1:XYZ/>
     </ns1:XYZ>
     </Object>

   </Signature>

best regards

Konrad


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]