FW: [xmlsec] xmlsec-mscrypto code review

Jan-Olof Andersson jan-olof.andersson at blcc.biz
Tue Sep 23 07:53:41 PDT 2003


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>





More information about the xmlsec mailing list