Hi,
I tried really everthing, but I can't sing this XML-File. The file will be signed but the Keyvalue Tags ARE EMPTY!
I use the commandline tool: xmlsec --sign --crypto mscrypt template.xml
 
Please give me a helping hand
Thnkas
jürgen

Attachment: Dummy.pfx
Description: Dummy.pfx

<?xml version="1.0" encoding="ISO-8859-1"?>
<eb:Invoice xmlns:eb="http://www.ebinterface.at/schema/2p0/"; xmlns:dsig="http://www.w3.org/2000/09/xmldsig#"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://www.ebinterface.at/schema/2p0/ http://www.ebinterface.at/schema/2p0/Invoice.xsd"; eb:Cancellation="false" eb:GeneratingSystem="MESONIC WINLine 8.4 (Build 1112)">
	<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="">
				<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>Juergen Heiss,  (Test)</dsig:KeyName>
			<dsig:KeyValue>
			</dsig:KeyValue>
			<dsig:X509Data>
			</dsig:X509Data>
		</dsig:KeyInfo>
	</dsig:Signature>
	<eb:InvoiceNumber>FA-2336</eb:InvoiceNumber>
	<eb:InvoiceDate>2006-05-03</eb:InvoiceDate>
	<eb:Delivery>
		<eb:Date>2006-05-03</eb:Date>
		<eb:Address>
			<eb:Salutation>Firma</eb:Salutation>
			<eb:Name>Annas Sportwelt</eb:Name>
			<eb:Street>Linzer Str. 12</eb:Street>
			<eb:Town>Altheim</eb:Town>
			<eb:ZIP>4950</eb:ZIP>
			<eb:Country>Österreich</eb:Country>
			<eb:Contact>Herr Sebastian</eb:Contact>
		</eb:Address>
	</eb:Delivery>
	<eb:Biller>
			<eb:VATIdentificationNumber>ATU74589652</eb:VATIdentificationNumber>
		<eb:InvoiceRecipientsBillerID>230ANNA</eb:InvoiceRecipientsBillerID>
		<eb:Address>
			<eb:Name>Fun &amp; Workout</eb:Name>
			<eb:Street>Herzog Friedrich Pl.</eb:Street>
			<eb:Town>Mauerbach</eb:Town>
			<eb:ZIP>3001</eb:ZIP>
			<eb:Country>A</eb:Country>
			<eb:Phone>+43 1 970 30</eb:Phone>
			<eb:Email>[EMAIL PROTECTED]</eb:Email>
			<eb:Contact>Herr Walter</eb:Contact>
			<eb:AddressExtension>Sport &amp; Fitness</eb:AddressExtension>
		</eb:Address>
	</eb:Biller>
	<eb:InvoiceRecipient>
			<eb:VATIdentificationNumber>ATU44026601</eb:VATIdentificationNumber>
		<eb:BillersInvoiceRecipientID>230A001</eb:BillersInvoiceRecipientID>
		<eb:Address>
			<eb:Salutation>Firma</eb:Salutation>
			<eb:Name>Annas Sportwelt</eb:Name>
			<eb:Street>Linzer Str. 12</eb:Street>
			<eb:Town>Altheim</eb:Town>
			<eb:ZIP>4950</eb:ZIP>
			<eb:Country>Österreich</eb:Country>
			<eb:Contact>Herr Sebastian</eb:Contact>
		</eb:Address>
	</eb:InvoiceRecipient>
	<eb:Details>
		<eb:ItemList eb:ListType="structured">
			<eb:ListLineItem>
				<eb:ListElement eb:Usage="Number" eb:Type="IdentifierType">10001</eb:ListElement>
				<eb:ListElement eb:Usage="Description" eb:Type="StringType">Rennrad 26 "</eb:ListElement>
				<eb:ListElement eb:Usage="CustomersArticleNumber" eb:Type="IdentifierType">10001</eb:ListElement>
				<eb:ListElement eb:Usage="Quantity" eb:Type="DecimalType" eb:Unit="Units">1.00</eb:ListElement>
				<eb:ListElement eb:Usage="Weight" eb:Type="DecimalType">15.60</eb:ListElement>
				<eb:ListElement eb:Usage="ReductionRate" eb:Type="DecimalType">-7.85</eb:ListElement>
				<eb:ListElement eb:Usage="TaxRate" eb:Type="DecimalType">20.00</eb:ListElement>
				<eb:ListElement eb:Usage="UnitPrice" eb:Type="AmountType" eb:Unit="EUR">381.51</eb:ListElement>
				<eb:ListElement eb:Usage="Amount" eb:Type="AmountType" eb:Unit="EUR">351.56</eb:ListElement>
			</eb:ListLineItem>
			<eb:ListLineItem>
				<eb:ListElement eb:Usage="Number" eb:Type="IdentifierType">90</eb:ListElement>
				<eb:ListElement eb:Usage="Description" eb:Type="StringType">Versandkosten</eb:ListElement>
				<eb:ListElement eb:Usage="CustomersArticleNumber" eb:Type="IdentifierType">90</eb:ListElement>
				<eb:ListElement eb:Usage="Quantity" eb:Type="DecimalType" eb:Unit="Units">1.00</eb:ListElement>
				<eb:ListElement eb:Usage="Weight" eb:Type="DecimalType">0.00</eb:ListElement>
				<eb:ListElement eb:Usage="ReductionRate" eb:Type="DecimalType">-5.00</eb:ListElement>
				<eb:ListElement eb:Usage="TaxRate" eb:Type="DecimalType">20.00</eb:ListElement>
				<eb:ListElement eb:Usage="UnitPrice" eb:Type="AmountType" eb:Unit="EUR">0.00</eb:ListElement>
				<eb:ListElement eb:Usage="Amount" eb:Type="AmountType" eb:Unit="EUR">0.00</eb:ListElement>
			</eb:ListLineItem>
			<eb:ListLineItem>
				<eb:ListElement eb:Usage="Number" eb:Type="IdentifierType">99</eb:ListElement>
				<eb:ListElement eb:Usage="Description" eb:Type="StringType">Versicherung</eb:ListElement>
				<eb:ListElement eb:Usage="CustomersArticleNumber" eb:Type="IdentifierType">99</eb:ListElement>
				<eb:ListElement eb:Usage="Quantity" eb:Type="DecimalType" eb:Unit="Units">1.00</eb:ListElement>
				<eb:ListElement eb:Usage="Weight" eb:Type="DecimalType">0.00</eb:ListElement>
				<eb:ListElement eb:Usage="ReductionRate" eb:Type="DecimalType">-5.00</eb:ListElement>
				<eb:ListElement eb:Usage="TaxRate" eb:Type="DecimalType">20.00</eb:ListElement>
				<eb:ListElement eb:Usage="UnitPrice" eb:Type="AmountType" eb:Unit="EUR">6.90</eb:ListElement>
				<eb:ListElement eb:Usage="Amount" eb:Type="AmountType" eb:Unit="EUR">6.55</eb:ListElement>
			</eb:ListLineItem>
		</eb:ItemList>
	</eb:Details>
	<eb:Tax>
		<eb:VAT>
			<eb:Item>
				<eb:TaxedAmount eb:Currency="EUR">358.11</eb:TaxedAmount>
				<eb:Percentage>20.00</eb:Percentage>
				<eb:Amount eb:Currency="EUR">71.62</eb:Amount>
			</eb:Item>
		</eb:VAT>
	</eb:Tax>
	<eb:TotalGrossAmount eb:Currency="EUR">438.74</eb:TotalGrossAmount>
	<eb:PaymentMethod xsi:type="eb:UniversalBankTransactionType">
		<eb:BeneficiaryAccount>
			<eb:BankName>Die Erste</eb:BankName>
			<eb:BankCode eb:BankCodeType="AT">20120</eb:BankCode>
			<eb:BankAccountNr eb:Currency="EUR">4789234789</eb:BankAccountNr>
			<eb:BankAccountOwner>Herr Maier</eb:BankAccountOwner>
		</eb:BeneficiaryAccount>
	</eb:PaymentMethod>
	<eb:PaymentConditions>
		<eb:DueDate>2006-05-24</eb:DueDate>
		<eb:Discount>
			<eb:PaymentDate>2006-05-10</eb:PaymentDate>
			<eb:Percentage>2.00</eb:Percentage>
			<eb:Amount eb:Currency="EUR">8.77</eb:Amount>
		</eb:Discount>
		<eb:Discount>
			<eb:PaymentDate>2006-05-17</eb:PaymentDate>
			<eb:Percentage>1.00</eb:Percentage>
			<eb:Amount eb:Currency="EUR">4.39</eb:Amount>
		</eb:Discount>
	</eb:PaymentConditions>
	<eb:PresentationDetails>
		<eb:URL>http://www.funwork.co.at</eb:URL>
		<eb:LayoutID>EBIFA100</eb:LayoutID>
		<eb:Language>ger</eb:Language>
		<eb:DocumentTitle>Rechnung</eb:DocumentTitle>
		<eb:SuppressZero>true</eb:SuppressZero>
		<eb:HeaderComment>Wir erlauben uns wie folgt zu verrechnen.</eb:HeaderComment>
		<eb:FooterComment>Wir danken für Ihren Auftrag.</eb:FooterComment>
	</eb:PresentationDetails>
</eb:Invoice>
_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to