I have a document with different local documents that each shall be signed
by a different certificate (Localdata). Can there be any problem then that I
want just to sign the ALLDATA?

It always seems to sign the first signature it finds, into the LOCALDATA...

Best regards

Jan-Olof Andersson

<!DOCTYPE test [
        <!ATTLIST ALLDATA ID ID #IMPLIED>
        <!ATTLIST LOCALDATA ID ID #IMPLIED>
]>

<DOC>
        <ALLDATA ID="ALL">
                <DATA>
                        <LOCALDATA ID="LOCAL1">
                        ......
                        <LOCALDATA>
                        <Signature>
                                <Signedinfo>
                                        .....
                                        <Reference URI="#LOCAL1">
                                                .....
                                        </Reference>
                                </Signedinfo>
                                .....
                        </Signature>
                <DATA>

                <DATA>
                        <LOCALDATA ID="LOCAL2">
                        ......
                        <LOCALDATA>
                        <Signature>
                                <Signedinfo>
                                        .....
                                        <Reference URI="#LOCAL2">
                                                .....
                                        </Reference>
                                </Signedinfo>
                                .....
                        </Signature>
                <DATA>

        </ALLDATA>
        <Signature>
                <Signedinfo>
                        .....
                        <Reference URI="#ALL">
                                .....
                        </Reference>
                </Signedinfo>
                .....
        </Signature>
</DOC>


_______________________________________________
xmlsec mailing list
[EMAIL PROTECTED]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to