Xml signature: Adding reference on Object child

From: J-P Meunier (fuimens_at_yahoo.fr)
Date: 05/23/03

  • Next message: Aman: "Secure exe/dll"
    Date: Fri, 23 May 2003 17:27:56 +0200
    
    

    Hello,

    Is it possible to add a reference on a child of ObjectData instead of
    making a reference on the whole Object tag, in order to obtain something
    like the following signature :

    <Signature>
        <SignedInfo xmlns="xmldsig">
            <CanonicalizationMethod Algorithm="c14n" />
            <SignatureMethod Algorithm="rsa-sha1" />
            <Reference URI="#SignedObjectChild">
                <DigestMethod Algorithm="sha1"/>
                <DigestValue>3t2w=</DigestValue>
            </Reference>
    </SignedInfo>
    .......
    <Object>
            <ObjectChild1 Id="SignedObjectChild" xmlns="xmldsig#">
               .....
            </ObjectChild1>
            <ObjectChild2>This is not signed</ObjectChild2>
        </Object>
    </Signature>

    I really need to do that separation between signed and unsigned object
    children. So any help is welcome.

    Cheers,

    JP


  • Next message: Aman: "Secure exe/dll"

    Relevant Pages

    • RE: SignedXML.CheckSignature()/CreateSignature() Alternative?
      ... Probably I can create a dummy reference and get the digest values for the ... the signature Value logic... ... and attach this transform to that reference. ... >> Iam using SignedXML.CheckSignaturemethod for validating XMLDSIG ...
      (microsoft.public.dotnet.security)
    • Re: Replacing key values with their referenced data records
      ... parent tables and child tables and then use the DataColumn.Expression ... you must include the reference ... Additionally, once I can get it to display properly, I need ...
      (microsoft.public.dotnet.framework.windowsforms.databinding)
    • Re: Closing down a hierarchy of modal windows nicely
      ... another Form, the Owner property is set, but in the context of "Owner" ... is to assign the reference to a field when the child is constructed. ... said how many modals there are. ...
      (microsoft.public.dotnet.languages.csharp)
    • RE: Display mutliple 1-1 tables in DataGrid?
      ... A column in a child table may be referenced in an expression by prepending ... column named Price in the child table. ... example, if a table has two child tables named Customers and Orders, and the ... the reference would be: ...
      (microsoft.public.dotnet.framework.adonet)
    • bug in c14n canonicalization ?
      ... I would like to discuss a c14n canonicalization problem here. ... When I try to validate this signature with an other XmlDSig libraries, ... referenced by the first Reference with .NET functions and with Apache ... Apache returns the same node (SignedProperties) but keeps its namespace to ...
      (microsoft.public.dotnet.security)