[xmlsec] Help by References

Jürgen Heiss jheiss at Mesonic.com
Wed Apr 12 01:41:53 PDT 2006


Hi Alexsey,

Can you please tell me what wrong with the reference?

<?xml version="1.0" encoding="UTF-8"?>
<dsig:Signature xmlns:dsig="http://www.w3.org/2000/09/xmldsig#">
		<dsig:SignedInfo>
		<dsig:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
		<dsig:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
		<dsig:Reference URI="file://D:/invoice.xml">
		<dsig:Reference URI=http://www.google.com/index.html>		
			<dsig:Transforms>
				<dsig:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
			</dsig:Transforms>
			<dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
			<dsig:DigestValue></dsig:DigestValue>
		</dsig:Reference>
		</dsig:SignedInfo>
		<dsig:SignatureValue>
		</dsig:SignatureValue>
		<dsig:KeyInfo>
			<dsig:KeyName></dsig:KeyName>
			<dsig:X509Data>
			<dsig:X509Certificate></dsig:X509Certificate><dsig:X509SubjectName></dsig:X509SubjectName><dsig:X509IssuerSerial></dsig:X509IssuerSerial>
			</dsig:X509Data>
		</dsig:KeyInfo>
	</dsig:Signature>



More information about the xmlsec mailing list