Hi Aleksey, I have a strange one here. I am using --ms-crypto (thanks Wouter and Aleksey) with an XPath-filter (intersect and subtract). I have used a similar template in dozens of tests. Sign works fine. --store-references shows intersect, subtract working fine.
However when I go to verify, I get the error below refrring to some invalid data, yet messages state OK 1/1 etc ... As you can see there is next to nothing in the xml doc being signed. I have included input and output from successful sign operation as attachments. The only thing different is the absence of namespace qualifier in base document. Any ideas ? This is for the UN. Ed C:\epmsigner-dev\XMLSec>xmlsec sign --crypto mscrypto --output C:/epmsigner-dev/infopath/FFIEPMcompleted.signed.xml C:/epmsigner-dev/infopath/FFIEPMcompleted2.ToBeSigned.xml C:\epmsigner-dev\XMLSec>xmlsec verify --crypto mscrypto C:/epmsigner-dev/infopath/FFIEPMcompleted.signed.xml func=xmlSecBnFromString:file=..\src\bn.c:line=214:obj=unknown:subj=unknown:e rror=12:invalid data:char=B;base=10;last error=-2146885628 (0x80092004);last error msg=Cannot find object or property. func=xmlSecMSCryptoX509FindCert:file=..\src\mscrypto\x509vfy.c:line=586:obj= unknown:subj=xmlSecBnInitialize:error=1:xmlsec library function failed:;last error=-2146885628 (0x80092004);last error msg=Cannot find object or property. OK SignedInfo References (ok/all): 1/1 Manifests References (ok/all): 0/0
<?xml version="1.0" encoding="UTF-8"?> <?mso-infoPathSolution solutionVersion="1.0.0.29" productVersion="11.0.5531" PIVersion="1.0.0.0" href="file:///C:\epmsigner-dev\infopath\FFIEPMdemo.xsn" language="en-us" ?> <?mso-application progid="InfoPath.Document"?> <FiataForwardingInstructions xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2003-11-09T15:04:28" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xf="http://www.w3.org/2002/06/xmldsig-filter2"> <Header> <MessageType/> <MessageVersionNumber/> <MessageReleaseNumber/> <DocumentMessageName/> <DocumentMessageNumber/> <DocumentMessageStatusCoded/> </Header> <Consignor> <NameAndAddress> <PartyIdentificationDetails> <PartyIdIdentification/> <CodeListResponsibleAgencyCoded/> </PartyIdentificationDetails> <StructuredAddress> <PartyName>Ed</PartyName> <StreetAndNumberP.O.Box/> <CityName/> <CountrySub-entityIdentification/> <PostcodeIdentification/> <CountryCoded>CA</CountryCoded> </StructuredAddress> </NameAndAddress> <ListOfContacts> <InformationContact> <ContactName/> <ListOfCommunicationNumbers> <Telephone/> <Telefax/> <ElectronicMail/> <Telex/> <Teletext/> <InternalMail/> </ListOfCommunicationNumbers> </InformationContact> </ListOfContacts> </Consignor> <Consignee> <NameAndAddress> <PartyIdentificationDetails> <PartyIdIdentification/> <CodeListResponsibleAgencyCoded/> </PartyIdentificationDetails> <StructuredAddress> <PartyName/> <StreetAndNumberP.O.Box/> <CityName/> <CountrySub-entityIdentification/> <PostcodeIdentification/> <CountryCoded>CA</CountryCoded> </StructuredAddress> </NameAndAddress> <ListOfContacts> <InformationContact> <ContactName/> <ListOfCommunicationNumbers> <Telephone/> <Telefax/> <ElectronicMail/> <Telex/> <Teletext/> <InternalMail/> </ListOfCommunicationNumbers> </InformationContact> </ListOfContacts> </Consignee> <FreightForwarder> <NameAndAddress> <PartyIdentificationDetails> <PartyIdIdentification/> <CodeListResponsibleAgencyCoded/> </PartyIdentificationDetails> <StructuredAddress> <PartyName/> <StreetAndNumberP.O.Box/> <CityName/> <CountrySub-entityIdentification/> <PostcodeIdentification/> <CountryCoded>CA</CountryCoded> </StructuredAddress> </NameAndAddress> <ListOfContacts> <InformationContact> <ContactName/> <ListOfCommunicationNumbers> <Telephone/> <Telefax/> <ElectronicMail/> <Telex/> <Teletext/> <InternalMail/> </ListOfCommunicationNumbers> </InformationContact> </ListOfContacts> </FreightForwarder> <NotifyParty> <NameAndAddress> <PartyIdentificationDetails> <PartyIdIdentification/> <CodeListResponsibleAgencyCoded/> </PartyIdentificationDetails> <StructuredAddress> <PartyName/> <StreetAndNumberP.O.Box/> <CityName/> <CountrySub-entityIdentification/> <PostcodeIdentification/> <CountryCoded>CA</CountryCoded> </StructuredAddress> </NameAndAddress> <ListOfContacts> <InformationContact> <ContactName/> <ListOfCommunicationNumbers> <Telephone/> <Telefax/> <ElectronicMail/> <Telex/> <Teletext/> <InternalMail/> </ListOfCommunicationNumbers> </InformationContact> </ListOfContacts> </NotifyParty> <ListOfReferences> <DocumentaryCreditAdviceReference> <ReferenceNumber/> <ReferenceDate> <Date/> <DateFormatCoded/> </ReferenceDate> </DocumentaryCreditAdviceReference> </ListOfReferences> <AcceptanceDate> <Date/> <DateFormatCoded/> </AcceptanceDate> <PlaceOfAcceptance> <LocationName/> <LocationCoded/> </PlaceOfAcceptance> <DeliveryTerms> <TermsOfDelivery/> <TermsOfDeliveryCoded/> <CodeListResponsibleAgencyCoded/> <PlaceOfDelivery> <LocationName/> <LocationCoded/> </PlaceOfDelivery> </DeliveryTerms> <ConditionOfSale> <ConditionsOfSale> <Information/> <InformationCoded/> <CodeListResponsibleAgencyCoded/> </ConditionsOfSale> <Incoterms> <IncotermsName/> <IncotermsCode/> <IncotermsIssueYear/> <IncotermsPlace> <LocationName/> <LocationCoded/> </IncotermsPlace> </Incoterms> </ConditionOfSale> <ContractAndCarriageConditions> <ContractAndCarriageCondition/> <ContractAndCarriageConditionCoded/> <CodeListResponsibleAgencyCoded/> </ContractAndCarriageConditions> <TermsOfShipment> <FreeText/> <FreeTextCoded/> <CodeListResponsibleAgencyCoded/> </TermsOfShipment> <TransportInsurance> <ValueInsuredInFigures> <MonetaryAmount/> <CurrencyCoded>CAD</CurrencyCoded> </ValueInsuredInFigures> <TransportInsuranceCoveredByCoded>1</TransportInsuranceCoveredByCoded> <InsuranceConditions> <Information/> </InsuranceConditions> </TransportInsurance> <ModeOfTransport> <ModeOfTransport/> <ModeOfTransportCoded/> </ModeOfTransport> <PlaceOfDestination> <LocationName/> <LocationCoded/> </PlaceOfDestination> <ItemLevel> <ItemNumber/> <ShippingMarks/> <Packages> <TypeOfPackages/> <TypeOfPackagesIdentification/> <NumberOfPackages/> </Packages> <DescriptionOfGoods/> <Commodity> <CommodityRateId/> </Commodity> <GrossWeight> <MeasurementValue/> <MeasureUnitQualifier/> </GrossWeight> <Cube> <MeasurementValue/> <MeasureUnitQualifier/> </Cube> <DeclaredValueForCarriage> <MonetaryAmount/> <CurrencyCoded/> </DeclaredValueForCarriage> <CountryOfOrigin> <Country/> <CountryCoded>CA</CountryCoded> </CountryOfOrigin> </ItemLevel> <TransportDetails> <FreeText/> </TransportDetails> <Equipment> <EquipmentInformation> <FreeText/> </EquipmentInformation> </Equipment> <HandlingInstructions> <FreeText/> </HandlingInstructions> <Documents> <DocumentMessageNumber/> <DocumentMessageStatusCoded/> <DocumentMessageName/> <DocumentMessageNameCoded/> <CodeListResponsibleAgencyCoded/> <NumberOfCopiesOfDocument/> <NumberOfOriginalsOfDocument/> </Documents> <PlaceOfIssue> <LocationName/> <LocationCoded/> </PlaceOfIssue> <DocumentDate> <Date/> <DateFormatCoded/> </DocumentDate> <AuthenticationInformation> <PartyName/> <NameOfPerson/> <Authentication/> </AuthenticationInformation> <EPMSignatures> <ds:EPMSignatureSummary> <ds:Status/> <ds:NumberOfSignatures/> <ds:LastSignedDateTime/> <ds:LastVerifiedDateTime/> <ds:LastPostMarkedDateTime/> </ds:EPMSignatureSummary> <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ds-xpath="http://www.w3.org/2002/06/xmldsig-filter2"> <ds:SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/> <ds:Reference URI=""> <ds:Transforms> <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> <ds:Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2"> <ds-xpath:XPath Filter="intersect">//FiataForwardingInstructions</ds-xpath:XPath> <ds-xpath:XPath Filter="subtract">//EPMSignatures</ds-xpath:XPath> </ds:Transform> </ds:Transforms> <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <ds:DigestValue>e4xaMpzQEQzjpqEHCrsZTULXm2o=</ds:DigestValue> </ds:Reference> </ds:SignedInfo> <ds:SignatureValue>o0/e6STodUnoSy6zrEkPBOEjVmz5WgL+dKYdu2CjItgwFB3b3G12xBGgtlFGZAxH PysYlMd6TzxrCnRKrczYNMiQ8P1nTGtHPQMiauUAzqcqW5GfoGqSJ/Pln2aovuuY Yss37ev4r8biFZ4crsNlqy3tZdFliNBgFmOZwr96I1A=</ds:SignatureValue> <ds:KeyInfo> <ds:X509Data> <X509Certificate xmlns="http://www.w3.org/2000/09/xmldsig#">MIIEQzCCAyugAwIBAgIBGzANBgkqhkiG9w0BAQUFADCB8zELMAkGA1UEBhMCQ0Ex EDAOBgNVBAgTB09udGFyaW8xDzANBgNVBAcTBk90dGF3YTEgMB4GA1UEChMXQ2Fu YWRhIFBvc3QgQ29ycG9yYXRpb24xGjAYBgNVBAoTEUZvciBUZXN0IFVzZSBPbmx5 MR0wGwYDVQQLExRFbGVjdHJvbmljIFBvc3QgTWFyazE2MDQGA1UEAxMtQ2FuYWRh IFBvc3QgQ29ycG9yYXRpb24gQ2VydGlmaWNhdGUgQXV0aG9yaXR5MSwwKgYJKoZI hvcNAQkBFh1TZWN1cml0eU9mZmljZXJAY2FuYWRhcG9zdC5jYTAeFw0wMzA4Mjcx NTAxMDBaFw0wNDA4MjYxNTAxMDBaMIHIMQswCQYDVQQGEwJDQTEQMA4GA1UECBMH T250YXJpbzEPMA0GA1UEBxMGT3R0YXdhMSAwHgYDVQQKExdDYW5hZGEgUG9zdCBD b3Jwb3JhdGlvbjEaMBgGA1UEChMRRm9yIFRlc3QgVXNlIE9ubHkxHTAbBgNVBAsT FEVsZWN0cm9uaWMgUG9zdCBNYXJrMRMwEQYDVQQDEwpFZCBTaGFsbG93MSQwIgYJ KoZIhvcNAQkBFhVlZC5zaGFsbG93QHJvZ2Vycy5jb20wgZ8wDQYJKoZIhvcNAQEB BQADgY0AMIGJAoGBAL/Pk5lOImcvb3y7g8QMJHVml4Xeu5uFzNWZTNd8R4aDiOZF 34gFsyVW45N08ZXiGaxbkjC6/ufRBt3lED5ahWEH1Hlo/eQPdjSxMrfFF3QmoxQQ HGhSqDViL/iU5MTMwortQkfDP/xxwJD4LNHL8oNHC6J/eJBUK9Rko2pNC4XBAgMB AAGjgY4wgYswDAYDVR0TBAUwAwIBADAdBgNVHQ4EFgQUjLQkzx/pguKtlfw0Pp97 clk6uUgwHwYDVR0jBBgwFoAUOUkGbskxjIFdzWLpXghiRC8remowLgYDVR0fBCcw JTAjoCGgH4YdaHR0cDovL2NhMS51cHUuaW50L21hc3Rlci5jcmwwCwYDVR0PBAQD AgWgMA0GCSqGSIb3DQEBBQUAA4IBAQCE953O9dWZp0h4kPUlSbitOA6W9PGyRS1O UvlwlRUgnOj03EF5HvVZKkdYFZ+2Tbb3qjtdGniPZLzNOEvRjBUUo6ACAhMYUgIE ZmBbjYfixffs4eixlPJcgJFm3QkpWx67GTnU740QBSUGZ/RXSFoD4sm/9cJff+JI LSdl1Sy3DOs2RNCFnIe5vT/OFbyV2fDk1yoP2sY20xkx1MOwcDn/i8PbbNmcPSEd scNTqNd+Go0BBYwB3EZwjyI/dwtyBf5G4I+6ZCpKRl2umvvr1l2uGOXZAtKjXHa8 pj2U1Wti4slnbQBLrRYWY2PBoYm8xaYZy4Su01R0g9vvw3gnYbZJ</X509Certificate> <X509SubjectName xmlns="http://www.w3.org/2000/09/xmldsig#">C=CA, S=Ontario, L=Ottawa, O=Canada Post Corporation, O=For Test Use Only, OU=Electronic Post Mark, CN=Ed Shallow, [EMAIL PROTECTED]</X509SubjectName> <X509IssuerSerial xmlns="http://www.w3.org/2000/09/xmldsig#"> <X509IssuerName>C=CA, S=Ontario, L=Ottawa, O=Canada Post Corporation, O=For Test Use Only, OU=Electronic Post Mark, CN=Canada Post Corporation Certificate Authority, [EMAIL PROTECTED]</X509IssuerName> <X509SerialNumber>1B</X509SerialNumber> </X509IssuerSerial> </ds:X509Data> <ds:KeyName>C=CA, S=Ontario, L=Ottawa, O=Canada Post Corporation, O=For Test Use Only, OU=Electronic Post Mark, CN=Ed Shallow, [EMAIL PROTECTED]</ds:KeyName> </ds:KeyInfo> </ds:Signature> </EPMSignatures> </FiataForwardingInstructions>
<?xml version="1.0" encoding="UTF-8"?><?mso-infoPathSolution solutionVersion="1.0.0.29" productVersion="11.0.5531" PIVersion="1.0.0.0" href="file:///C:\epmsigner-dev\infopath\FFIEPMdemo.xsn" language="en-us" ?><?mso-application progid="InfoPath.Document"?> <FiataForwardingInstructions xmlns:my="http://schemas.microsoft.com/office/infopath/2003/myXSD/2003-11-09T15:04:28" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xf="http://www.w3.org/2002/06/xmldsig-filter2"> <Header> <MessageType></MessageType> <MessageVersionNumber></MessageVersionNumber> <MessageReleaseNumber></MessageReleaseNumber> <DocumentMessageName></DocumentMessageName> <DocumentMessageNumber></DocumentMessageNumber> <DocumentMessageStatusCoded></DocumentMessageStatusCoded> </Header> <Consignor> <NameAndAddress> <PartyIdentificationDetails> <PartyIdIdentification></PartyIdIdentification> <CodeListResponsibleAgencyCoded></CodeListResponsibleAgencyCoded> </PartyIdentificationDetails> <StructuredAddress> <PartyName>Ed</PartyName> <StreetAndNumberP.O.Box></StreetAndNumberP.O.Box> <CityName></CityName> <CountrySub-entityIdentification></CountrySub-entityIdentification> <PostcodeIdentification></PostcodeIdentification> <CountryCoded>CA</CountryCoded> </StructuredAddress> </NameAndAddress> <ListOfContacts> <InformationContact> <ContactName></ContactName> <ListOfCommunicationNumbers> <Telephone></Telephone> <Telefax></Telefax> <ElectronicMail></ElectronicMail> <Telex></Telex> <Teletext></Teletext> <InternalMail></InternalMail> </ListOfCommunicationNumbers> </InformationContact> </ListOfContacts> </Consignor> <Consignee> <NameAndAddress> <PartyIdentificationDetails> <PartyIdIdentification></PartyIdIdentification> <CodeListResponsibleAgencyCoded></CodeListResponsibleAgencyCoded> </PartyIdentificationDetails> <StructuredAddress> <PartyName></PartyName> <StreetAndNumberP.O.Box></StreetAndNumberP.O.Box> <CityName></CityName> <CountrySub-entityIdentification></CountrySub-entityIdentification> <PostcodeIdentification></PostcodeIdentification> <CountryCoded>CA</CountryCoded> </StructuredAddress> </NameAndAddress> <ListOfContacts> <InformationContact> <ContactName></ContactName> <ListOfCommunicationNumbers> <Telephone></Telephone> <Telefax></Telefax> <ElectronicMail></ElectronicMail> <Telex></Telex> <Teletext></Teletext> <InternalMail></InternalMail> </ListOfCommunicationNumbers> </InformationContact> </ListOfContacts> </Consignee> <FreightForwarder> <NameAndAddress> <PartyIdentificationDetails> <PartyIdIdentification></PartyIdIdentification> <CodeListResponsibleAgencyCoded></CodeListResponsibleAgencyCoded> </PartyIdentificationDetails> <StructuredAddress> <PartyName></PartyName> <StreetAndNumberP.O.Box></StreetAndNumberP.O.Box> <CityName></CityName> <CountrySub-entityIdentification></CountrySub-entityIdentification> <PostcodeIdentification></PostcodeIdentification> <CountryCoded>CA</CountryCoded> </StructuredAddress> </NameAndAddress> <ListOfContacts> <InformationContact> <ContactName></ContactName> <ListOfCommunicationNumbers> <Telephone></Telephone> <Telefax></Telefax> <ElectronicMail></ElectronicMail> <Telex></Telex> <Teletext></Teletext> <InternalMail></InternalMail> </ListOfCommunicationNumbers> </InformationContact> </ListOfContacts> </FreightForwarder> <NotifyParty> <NameAndAddress> <PartyIdentificationDetails> <PartyIdIdentification></PartyIdIdentification> <CodeListResponsibleAgencyCoded></CodeListResponsibleAgencyCoded> </PartyIdentificationDetails> <StructuredAddress> <PartyName></PartyName> <StreetAndNumberP.O.Box></StreetAndNumberP.O.Box> <CityName></CityName> <CountrySub-entityIdentification></CountrySub-entityIdentification> <PostcodeIdentification></PostcodeIdentification> <CountryCoded>CA</CountryCoded> </StructuredAddress> </NameAndAddress> <ListOfContacts> <InformationContact> <ContactName></ContactName> <ListOfCommunicationNumbers> <Telephone></Telephone> <Telefax></Telefax> <ElectronicMail></ElectronicMail> <Telex></Telex> <Teletext></Teletext> <InternalMail></InternalMail> </ListOfCommunicationNumbers> </InformationContact> </ListOfContacts> </NotifyParty> <ListOfReferences> <DocumentaryCreditAdviceReference> <ReferenceNumber></ReferenceNumber> <ReferenceDate> <Date></Date> <DateFormatCoded></DateFormatCoded> </ReferenceDate> </DocumentaryCreditAdviceReference> </ListOfReferences> <AcceptanceDate> <Date></Date> <DateFormatCoded></DateFormatCoded> </AcceptanceDate> <PlaceOfAcceptance> <LocationName></LocationName> <LocationCoded></LocationCoded> </PlaceOfAcceptance> <DeliveryTerms> <TermsOfDelivery></TermsOfDelivery> <TermsOfDeliveryCoded></TermsOfDeliveryCoded> <CodeListResponsibleAgencyCoded></CodeListResponsibleAgencyCoded> <PlaceOfDelivery> <LocationName></LocationName> <LocationCoded></LocationCoded> </PlaceOfDelivery> </DeliveryTerms> <ConditionOfSale> <ConditionsOfSale> <Information></Information> <InformationCoded></InformationCoded> <CodeListResponsibleAgencyCoded></CodeListResponsibleAgencyCoded> </ConditionsOfSale> <Incoterms> <IncotermsName></IncotermsName> <IncotermsCode></IncotermsCode> <IncotermsIssueYear></IncotermsIssueYear> <IncotermsPlace> <LocationName></LocationName> <LocationCoded></LocationCoded> </IncotermsPlace> </Incoterms> </ConditionOfSale> <ContractAndCarriageConditions> <ContractAndCarriageCondition></ContractAndCarriageCondition> <ContractAndCarriageConditionCoded></ContractAndCarriageConditionCoded> <CodeListResponsibleAgencyCoded></CodeListResponsibleAgencyCoded> </ContractAndCarriageConditions> <TermsOfShipment> <FreeText></FreeText> <FreeTextCoded></FreeTextCoded> <CodeListResponsibleAgencyCoded></CodeListResponsibleAgencyCoded> </TermsOfShipment> <TransportInsurance> <ValueInsuredInFigures> <MonetaryAmount></MonetaryAmount> <CurrencyCoded>CAD</CurrencyCoded> </ValueInsuredInFigures> <TransportInsuranceCoveredByCoded>1</TransportInsuranceCoveredByCoded> <InsuranceConditions> <Information></Information> </InsuranceConditions> </TransportInsurance> <ModeOfTransport> <ModeOfTransport></ModeOfTransport> <ModeOfTransportCoded></ModeOfTransportCoded> </ModeOfTransport> <PlaceOfDestination> <LocationName></LocationName> <LocationCoded></LocationCoded> </PlaceOfDestination> <ItemLevel> <ItemNumber></ItemNumber> <ShippingMarks></ShippingMarks> <Packages> <TypeOfPackages></TypeOfPackages> <TypeOfPackagesIdentification></TypeOfPackagesIdentification> <NumberOfPackages></NumberOfPackages> </Packages> <DescriptionOfGoods></DescriptionOfGoods> <Commodity> <CommodityRateId></CommodityRateId> </Commodity> <GrossWeight> <MeasurementValue></MeasurementValue> <MeasureUnitQualifier></MeasureUnitQualifier> </GrossWeight> <Cube> <MeasurementValue></MeasurementValue> <MeasureUnitQualifier></MeasureUnitQualifier> </Cube> <DeclaredValueForCarriage> <MonetaryAmount></MonetaryAmount> <CurrencyCoded></CurrencyCoded> </DeclaredValueForCarriage> <CountryOfOrigin> <Country></Country> <CountryCoded>CA</CountryCoded> </CountryOfOrigin> </ItemLevel> <TransportDetails> <FreeText></FreeText> </TransportDetails> <Equipment> <EquipmentInformation> <FreeText></FreeText> </EquipmentInformation> </Equipment> <HandlingInstructions> <FreeText></FreeText> </HandlingInstructions> <Documents> <DocumentMessageNumber></DocumentMessageNumber> <DocumentMessageStatusCoded></DocumentMessageStatusCoded> <DocumentMessageName></DocumentMessageName> <DocumentMessageNameCoded></DocumentMessageNameCoded> <CodeListResponsibleAgencyCoded></CodeListResponsibleAgencyCoded> <NumberOfCopiesOfDocument></NumberOfCopiesOfDocument> <NumberOfOriginalsOfDocument></NumberOfOriginalsOfDocument> </Documents> <PlaceOfIssue> <LocationName></LocationName> <LocationCoded></LocationCoded> </PlaceOfIssue> <DocumentDate> <Date></Date> <DateFormatCoded></DateFormatCoded> </DocumentDate> <AuthenticationInformation> <PartyName></PartyName> <NameOfPerson></NameOfPerson> <Authentication></Authentication> </AuthenticationInformation> <EPMSignatures> <ds:EPMSignatureSummary> <ds:Status></ds:Status> <ds:NumberOfSignatures></ds:NumberOfSignatures> <ds:LastSignedDateTime></ds:LastSignedDateTime> <ds:LastVerifiedDateTime></ds:LastVerifiedDateTime> <ds:LastPostMarkedDateTime></ds:LastPostMarkedDateTime> </ds:EPMSignatureSummary> <ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:ds-xpath="http://www.w3.org/2002/06/xmldsig-filter2"> <ds:SignedInfo> <ds:CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/> <ds:SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/> <ds:Reference URI=""> <ds:Transforms> <ds:Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/> <ds:Transform Algorithm="http://www.w3.org/2002/06/xmldsig-filter2"> <ds-xpath:XPath Filter="intersect">//FiataForwardingInstructions</ds-xpath:XPath> <ds-xpath:XPath Filter="subtract">//EPMSignatures</ds-xpath:XPath> </ds:Transform> </ds:Transforms> <ds:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/> <ds:DigestValue></ds:DigestValue> </ds:Reference> </ds:SignedInfo> <ds:SignatureValue> </ds:SignatureValue> <ds:KeyInfo> <ds:X509Data> <ds:X509Certificate></ds:X509Certificate> <ds:X509SubjectName></ds:X509SubjectName> <ds:X509IssuerSerial></ds:X509IssuerSerial> </ds:X509Data> <ds:KeyName>C=CA, S=Ontario, L=Ottawa, O=Canada Post Corporation, O=For Test Use Only, OU=Electronic Post Mark, CN=Ed Shallow, [EMAIL PROTECTED]</ds:KeyName> </ds:KeyInfo> </ds:Signature> </EPMSignatures> </FiataForwardingInstructions>
